Blender Git Loki
Git Commits -> Revision fd01cd7
Revision fd01cd7 by Mai Lavelle (blender-v2.78-release, blender-v2.78b-release, blender-v2.78c-release, fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) September 14, 2016, 08:26 (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: fd01cd7d06fdb9e1c80070a46c0abc93e2f604e6
Parent Commit: 2c12015
Committed By: Sergey Sharybin
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)