[Bf-blender-cvs] [6d38d824377] blender2.8: Cycles: missed when renaming updated RNA
Campbell Barton
noreply at git.blender.org
Fri Jul 6 10:17:09 CEST 2018
Commit: 6d38d824377c55aaaed7e8283e81a7128bf6f728
Author: Campbell Barton
Date: Fri Jul 6 10:16:28 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB6d38d824377c55aaaed7e8283e81a7128bf6f728
Cycles: missed when renaming updated RNA
===================================================================
M intern/cycles/blender/blender_sync.cpp
===================================================================
diff --git a/intern/cycles/blender/blender_sync.cpp b/intern/cycles/blender/blender_sync.cpp
index 80aa68d9756..b449302241d 100644
--- a/intern/cycles/blender/blender_sync.cpp
+++ b/intern/cycles/blender/blender_sync.cpp
@@ -121,9 +121,9 @@ void BlenderSync::sync_recalc(BL::Depsgraph& b_depsgraph)
/* Object */
else if (b_id.is_a(&RNA_Object)) {
BL::Object b_ob(b_id);
- const bool updated_geometry = b_update->updated_geometry();
+ const bool updated_geometry = !b_update->is_dirty_geometry();
- if (b_update->updated_transform()) {
+ if (!b_update->is_dirty_transform()) {
object_map.set_recalc(b_ob);
light_map.set_recalc(b_ob);
}
More information about the Bf-blender-cvs
mailing list