Cycles: Make object flag names more obvious that hey are object and not shader
[blender.git] / intern / cycles / kernel / kernel_bake.h
index c32ac6ccf41217f92cd6be52c6e8278b3b31f622..5bcc57cdcdfe45d9d313f6154d954dff4a4e1022 100644 (file)
@@ -320,7 +320,7 @@ ccl_device void kernel_bake_evaluate(KernelGlobals *kg, ccl_global uint4 *input,
                                 P, Ng, Ng,
                                 shader, object, prim,
                                 u, v, 1.0f, 0.5f,
-                                !(kernel_tex_fetch(__object_flag, object) & SD_TRANSFORM_APPLIED),
+                                !(kernel_tex_fetch(__object_flag, object) & SD_OBJECT_TRANSFORM_APPLIED),
                                 LAMP_NONE);
        sd.I = sd.N;