[Bf-blender-cvs] [5708724] blender-v2.73-release: Fix T43156: Cycles incorrect final render, proper viewport with moblur disabled

Sergey Sharybin noreply at git.blender.org
Tue Jan 20 10:23:36 CET 2015


Commit: 57087245a46aae1674922fc6ab74a03cf3fbd1cf
Author: Sergey Sharybin
Date:   Tue Jan 13 20:52:31 2015 +0500
Branches: blender-v2.73-release
https://developer.blender.org/rB57087245a46aae1674922fc6ab74a03cf3fbd1cf

Fix T43156: Cycles incorrect final render, proper viewport with moblur disabled

Really stupid issue caused by typo in bitfield bit lead to bit conflict,

Not sure how it was done, could be some bad merge conflict resolve in the
original commit or just pure man stupidnes.

This is a nice example when having set of small test render scenes hooked
to the ctest would really help.

It's probably not that stopper issue (even tho still quite bad) since it
was made 2 months ago. But if we ever do 'a' this time it's a nice change
to include.

===================================================================

M	intern/cycles/kernel/kernel_types.h

===================================================================

diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index 460ca7b..9e961d5 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -621,7 +621,7 @@ enum ShaderDataFlag {
 	SD_NEGATIVE_SCALE_APPLIED   = (1 << 23),  /* vertices have negative scale applied */
 	SD_OBJECT_HAS_VOLUME        = (1 << 24),  /* object has a volume shader */
 	SD_OBJECT_INTERSECTS_VOLUME = (1 << 25),  /* object intersects AABB of an object with volume shader */
-	SD_OBJECT_HAS_VERTEX_MOTION = (1 << 21),  /* has position for motion vertices */
+	SD_OBJECT_HAS_VERTEX_MOTION = (1 << 26),  /* has position for motion vertices */
 
 	SD_OBJECT_FLAGS = (SD_HOLDOUT_MASK|SD_OBJECT_MOTION|SD_TRANSFORM_APPLIED|
 	                   SD_NEGATIVE_SCALE_APPLIED|SD_OBJECT_HAS_VOLUME|




More information about the Bf-blender-cvs mailing list