[Bf-blender-cvs] [e55c1a9b5a0] blender2.8: Depsgraph: Add TODO about backing up evaluated state of ID
Sergey Sharybin
noreply at git.blender.org
Wed May 30 12:02:54 CEST 2018
Commit: e55c1a9b5a089f3c688a0b47cba363cb0d6f92d0
Author: Sergey Sharybin
Date: Wed May 30 12:02:32 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBe55c1a9b5a089f3c688a0b47cba363cb0d6f92d0
Depsgraph: Add TODO about backing up evaluated state of ID
===================================================================
M source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
index ad7467ffbdc..4ccabb77a5d 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
@@ -772,6 +772,9 @@ ID *deg_update_copy_on_write_datablock(const Depsgraph *depsgraph,
* Copy-on-Write components in a way that only needed parts are being
* copied over.
*/
+ /* TODO(sergey): Wrap GPU material backup and object runtime backup to a
+ * generic backup structure.
+ */
ListBase gpumaterial_backup;
ListBase *gpumaterial_ptr = NULL;
ObjectRuntimeBackup object_runtime_backup = {NULL};
More information about the Bf-blender-cvs
mailing list