Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-09-28 12:13:36 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-09-28 12:13:36 +0400
commitd41f99ac57321fdd386ab7c64394dd9d8e86fc02 (patch)
tree6e201553f3ac2182b1b9d79314aad8bc0d0295ba /intern
parent839e24c0c3378a80eb41b209c96dd9d4ff529055 (diff)
Cycles: Correct object flags bitfield, was missing negative scale there
It's quite a few of circumstances to be met to hit the case when render wouldn't be correct. Better to be ported to the final release.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/kernel_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index 3e9e260794d..7c95f8cf14a 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -616,7 +616,7 @@ enum ShaderDataFlag {
SD_TRANSFORM_APPLIED = 2097152, /* vertices have transform applied */
SD_NEGATIVE_SCALE_APPLIED = 4194304, /* vertices have negative scale applied */
- SD_OBJECT_FLAGS = (SD_HOLDOUT_MASK|SD_OBJECT_MOTION|SD_TRANSFORM_APPLIED)
+ SD_OBJECT_FLAGS = (SD_HOLDOUT_MASK|SD_OBJECT_MOTION|SD_TRANSFORM_APPLIED|SD_NEGATIVE_SCALE_APPLIED)
};
struct KernelGlobals;