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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-01-03 12:09:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-01-03 12:09:30 +0300
commit35422ac536467ccddcaa17014b87aa3ed041a068 (patch)
tree37a722c5a2f862ea47e9824e7554d3f87afae462 /source/blender/blenkernel/intern/depsgraph.c
parentdacdfbe6f3c9f777d3b97d159baf382aeec82cdd (diff)
rna/api
move Object.update(...) to ID.update(). since depsgraph update function can now be called on ID types. also changed how update flags work. obj.update(scene, 1, 1, 1) ... is now obj.update({'OBJECT', 'DATA', 'TIME'}) Don't pass scene anymore. This was used for recalculating text but I think this is better dont in a different function.
Diffstat (limited to 'source/blender/blenkernel/intern/depsgraph.c')
-rw-r--r--source/blender/blenkernel/intern/depsgraph.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c
index 1904e63c2ba..81a6b4a19e2 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -2463,6 +2463,9 @@ void DAG_id_tag_update(ID *id, short flag)
}
}
}
+ else {
+ BKE_assert(!"invalid flag for this 'idtype'");
+ }
}
}