Blender Git Commit Log
Git Commits -> Revision 013b46d
Revision 013b46d by Mai Lavelle (master) September 11, 2016, 17:49 (GMT) |
Cycles: Replace object index hack with actual checks for SD_TRANSFORM_APPLIED Using ones complement for detecting if transform has been applied was confusing and led to several bugs. With this proper checks are made. Also added a few transforms where they were missing, mostly affecting baking and displacement when `P` is used in the shader (previously `P` was in the wrong space for these shaders) Also removed `TIME_INVALID` as this may have resulted in incorrect transforms in some cases. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2192 |
Commit Details:
Full Hash: 013b46d6bda4388736d7953746d6b335ce495b16
Parent Commit: 92a2c49
Lines Changed: +61, -44
14 Modified Paths:
/intern/cycles/blender/blender_session.cpp (+1, -2) (Diff)
/intern/cycles/kernel/geom/geom_object.h (+11, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_bake.h (+8, -7) (Diff)
/intern/cycles/kernel/kernel_camera.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_emission.h (+4, -1) (Diff)
/intern/cycles/kernel/kernel_light.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_shader.h (+18, -20) (Diff)
/intern/cycles/kernel/kernel_types.h (+0, -1) (Diff)
/intern/cycles/kernel/shaders/node_output_displacement.osl (+3, -1) (Diff)
/intern/cycles/kernel/svm/svm.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_displace.h (+10, -2) (Diff)
/intern/cycles/render/light.cpp (+0, -3) (Diff)
/intern/cycles/render/mesh_displace.cpp (+1, -2) (Diff)
/intern/cycles/kernel/geom/geom_object.h (+11, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_bake.h (+8, -7) (Diff)
/intern/cycles/kernel/kernel_camera.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_emission.h (+4, -1) (Diff)
/intern/cycles/kernel/kernel_light.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_shader.h (+18, -20) (Diff)
/intern/cycles/kernel/kernel_types.h (+0, -1) (Diff)
/intern/cycles/kernel/shaders/node_output_displacement.osl (+3, -1) (Diff)
/intern/cycles/kernel/svm/svm.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_displace.h (+10, -2) (Diff)
/intern/cycles/render/light.cpp (+0, -3) (Diff)
/intern/cycles/render/mesh_displace.cpp (+1, -2) (Diff)