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:
authorCampbell Barton <ideasman42@gmail.com>2018-12-13 15:15:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-13 15:19:01 +0300
commit5b6cb2de9afb958bec0cec8058a4ef5292141001 (patch)
treeffe5579e8b8497a28a1a9fcff52afd4f1334ff90 /intern
parenta3375729f8518c8069edafde36953b558329a0db (diff)
RNA: revert recent rename 'updated' -> 'dirty'
Partially reverts 45fdf41be87f & 6d38d824377c, added comment why term 'updated' is used in this case.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/blender_sync.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/blender/blender_sync.cpp b/intern/cycles/blender/blender_sync.cpp
index fd45bac645d..7ac44a3ec9e 100644
--- a/intern/cycles/blender/blender_sync.cpp
+++ b/intern/cycles/blender/blender_sync.cpp
@@ -123,9 +123,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->is_dirty_geometry();
+ const bool updated_geometry = b_update->is_updated_geometry();
- if(!b_update->is_dirty_transform()) {
+ if(b_update->is_updated_transform()) {
object_map.set_recalc(b_ob);
light_map.set_recalc(b_ob);
}