Blender Git Loki
Git Commits -> Revision 0090b39
Revision 0090b39 by Mai Lavelle (temp-cycles-microdisplacement) September 3, 2016, 20:08 (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) |
Commit Details:
Full Hash: 0090b39fe5ab633a67c4ca12186214f3db6be3c9
Parent Commit: 65afa1b
Lines Changed: +41, -32
10 Modified Paths:
/intern/cycles/blender/blender_session.cpp (+1, -2) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_bake.h (+11, -0) (Diff)
/intern/cycles/kernel/kernel_light.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_shader.h (+11, -18) (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_triangle.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_bake.h (+11, -0) (Diff)
/intern/cycles/kernel/kernel_light.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_shader.h (+11, -18) (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)