Bastien Montagne
2d4980e68e
Fix T42510: bake animation wrong result.
...
Caused by own rBfb7ff31315a1c9 - not surprising code using Object.matrix_local
in other contexts than mere Object parenting fails, since it was using a broken
implementation before...
Note that whole NLA_OT_Bake op would need some love, it is quite brittle in many aspects.
2015-02-03 15:44:20 +01:00
Antony Riakiotakis
3ff9e52dca
Fix T43380 modulo operation in GLSL does not return negatives.
...
Make it so by checking operand sign.
2015-02-03 15:08:42 +01:00
Sergey Sharybin
8186214c39
Fix T43514: Environment map doesn't update
2015-02-03 18:52:01 +05:00
Joshua Leung
a01501443b
Bugfix T43541: Inserting keyframes using sliders in Action Editor doesn't respect NLA time remapping
2015-02-04 02:22:57 +13:00
Sergey Sharybin
445eed8e38
Fix T43403: Compositor does not respect interlaced video
...
This is actually issue with Image datablock, which had obscure Fields settings
but didn't allow to de-interlace the video.
Now added the option to de-interlace Image with Movie input type.
2015-02-03 18:17:12 +05:00
Sergey Sharybin
701a7dcc87
Fix T43544: Runtime Error when Locale is not valid
...
This is not a real fix and only prevents crash, textures IO might be not
working totally correct if they're unicode path or so. Proper solution
would be to detect which locale we can use and set LANG, LC_ALL and friends.
2015-02-03 17:36:15 +05:00
Campbell Barton
1667e68797
Revert "Keep mingw specific includes ifdef'd"
...
This reverts commit ba8b9ae307
.
Turns out this is needed on other systems, just happened to be indirect included on them.
2015-02-03 23:24:31 +11:00
Campbell Barton
ba8b9ae307
Keep mingw specific includes ifdef'd
2015-02-03 22:54:57 +11:00
Antony Riakiotakis
529ca92975
MinGW still uses SDL1 - will need to change this of course but no need
...
to keep compilation broken for now
2015-02-03 12:51:12 +01:00
Antony Riakiotakis
7345d558f9
MinGW64 complains about clock, include time.h
2015-02-03 12:31:51 +01:00
Campbell Barton
488b342741
BMesh: optimize selection flushing
...
De-selecting a face would do flushing checks on each vertex 3 times, now only do once.
2015-02-03 19:59:39 +11:00
Campbell Barton
af2d75b9a7
cleanup: inconsistent BMesh select checks
2015-02-03 19:08:25 +11:00
Campbell Barton
faaaf7ee1f
Possible NULL de-reference on fullsceen check
...
Also quiet some other minor warnings
2015-02-03 16:42:22 +11:00
Campbell Barton
32125c40d3
Fix own mistake unlinking text (recent commit)
2015-02-03 16:39:32 +11:00
Campbell Barton
27cfd291c6
Fix copypaste error in x11 tablet init
2015-02-03 16:37:37 +11:00
Campbell Barton
75249259f4
BMesh: optimize edge select
...
It's called a lot, so avoid using a generic iterator for edges of vert.
2015-02-03 09:33:04 +11:00
Campbell Barton
052a021711
cleanup: indentation & redundant casts
...
also use 'const' bucket rect args
2015-02-03 09:33:04 +11:00
Campbell Barton
5678691fe4
cleanup: use bools in drawobject
2015-02-03 09:33:04 +11:00
Martijn Berger
ce6e71ea90
Make MSVC 2013 win32 also use new OpenEXR 2.2
2015-02-02 21:30:28 +01:00
Martijn Berger
d7ad64cc5e
Bump OpenEXR to 2.2 for windows MSVC 2013
2015-02-02 19:44:49 +01:00
Campbell Barton
9f874ddb99
Warp modifier: remove redundant NULL check
2015-02-03 04:38:59 +11:00
Campbell Barton
72f02437e7
Warp modifier: avoid sqrt checking radius
2015-02-03 04:35:40 +11:00
Campbell Barton
d0ae2624f5
Fix T43524: Warp modifier curve clamped to 0-1
2015-02-03 04:35:40 +11:00
Sergey Sharybin
e224b5b9ca
Cycles: OSL kernel now also ignores maybe-uninitialized
...
This is a bit of a mess because of the header dependency hell, but
since the tweak is small enough it's gonna be fine.
2015-02-02 22:15:33 +05:00
Sergey Sharybin
432e478f43
Cycles: Further tweaks to T43511 to solve compilation error on 32bit platforms
2015-02-02 22:09:02 +05:00
Sergey Sharybin
30e4009f0a
Cycles: Solve dependency between camera and object synchronization
...
IN theory object might depend on camera location (spatial adaptive subdivisions
for example) which became not possible to achieve after camera in volume support.
Should be no functional changes for artists.
2015-02-02 22:09:01 +05:00
Sergey Sharybin
ddba5c27a7
Cycles: Ignore -Wmaybe-uninitialized from the kernel in release builds
...
This warning provided too much false-positive issues in release version of the
kernel, making it really easy to miss actual warnings.
2015-02-02 22:09:01 +05:00
Antony Riakiotakis
23e3dbb726
Selection: avoid uninitialized memory read with occlusion queries
2015-02-02 17:45:07 +01:00
Lukas Tönne
2c82e748c1
Fix for hair child roughness.
...
The fixed-function roughness was not getting used once the curve
roughness has been enabled at least once.
2015-02-02 14:47:50 +01:00
Antony Riakiotakis
750506be97
Adjust GLSL drawing of window coordinates from camera view (use camera
...
bounds instead of window bounds). Fixes remaining part of T43346
2015-02-02 14:26:05 +01:00
Lukas Tönne
14755dde97
Fix for unfreed effector weights in hair dynamics.
...
The internal cloth modifier effector weights get replaced temporarily
to make the cloth sim use the particle weight settings instead. But
the particle sim was not putting back the original weights, which can be
non-NULL in case the cloth sim allocated these already. Messy design ...
2015-02-02 14:19:05 +01:00
Lukas Tönne
159124726e
Fix for unfreed memory due to unnecessary early exit in the free
...
function.
2015-02-02 14:19:05 +01:00
Lukas Tönne
961b7e78b4
Fix for unfreed memory of internal hair cloth modifier pointcache.
2015-02-02 14:19:04 +01:00
Sergey Sharybin
5030daf2a8
Cycles: Remove redundant calculation of w in recent cubic commit
...
Was rather harmless since compiler will optimize it out, but nice to get
rid of this anyway.
2015-02-02 17:35:57 +05:00
Sergey Sharybin
31263192bb
Fix T43511: Major slow down with many instanced objects in cycles GPU
...
Slowdown was caused by watertight intersection commit and follow-up workaorund
for compiler crash which uninlined utility function which rotates the ray.
Now it's only uninlined for sm_50 and sm_52 experimental kernels which are the
only ones which failed to compile.
Rendering still might be a bit slower but at least shouldn't be that dramatic.
2015-02-02 17:35:57 +05:00
Campbell Barton
81f97692ae
cleanup: style/spelling
2015-02-02 23:29:53 +11:00
Antony Riakiotakis
7b369080d0
Avoid warping the pointer when doing constrained texture painting
...
strokes
2015-02-02 11:29:01 +01:00
Sergey Sharybin
7ea7c2aab2
Cycles: Fix inconsistent command line used for runtime kernel compilation
...
Basically build-time compiled kernels were using --fast-math (which is correct)
but run-time compiled did not.
2015-02-02 15:00:21 +05:00
Campbell Barton
8cd106f12a
minor edits to last commit
2015-02-02 19:21:26 +11:00
julianeisel
f12c17abfe
Fix T43501: Crash on custom node tree creation
2015-02-02 03:04:31 +01:00
Tamito Kajiyama
0305b208eb
Fix for Freestyle view map caching not properly updated upon changes of render resolution and scale.
...
Problem reports independently by Light BWK and Folkert de Vries, thanks.
2015-02-02 10:00:12 +09:00
Campbell Barton
64124ba904
BMesh: tool to ensure all faces are convex
...
Access from Mesh -> Cleanup
2015-02-02 09:23:44 +11:00
Campbell Barton
d655a8f168
BMesh: BM_face_triangulate take edge array
...
To access edges created between the tris.
2015-02-02 09:22:54 +11:00
Sergey Sharybin
b757f04a15
Cycles: Indentation fix for the previous commit
2015-02-02 02:04:47 +05:00
Sergey Sharybin
3b9d455a90
Cycles: Implement cubit image interpolation on CPU
...
Basically title says it all. Could be not totally optimized but the code is there now.
2015-02-02 02:02:10 +05:00
Sergey Sharybin
0827441c32
Add extra Cycles regression tests
...
This new tests are aimed to issues/regressions reported to the tracker.
2015-02-02 02:02:10 +05:00
Sergey Sharybin
77e6f2212f
Cycles: Allow paths customization via environment variables
...
This is for development and test environment setup only, not for
regular users usage hence no mentioning in the man page needed.
2015-02-02 02:02:10 +05:00
Campbell Barton
60c643d66a
error in last commit
2015-02-02 05:01:48 +11:00
Campbell Barton
8350f7a587
RNA: add readonly pixelsize to userprefs
2015-02-02 04:57:41 +11:00
Sybren A. Stüvel
baa8b63111
Documentation: updated mathutils documentation
...
Added descriptions of the constructors, and improved the module-level
documentation.
2015-02-01 18:16:12 +01:00