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:
authorBastien Montagne <montagne29@wanadoo.fr>2019-02-13 16:29:27 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-02-13 16:31:56 +0300
commiteb7f2457e589e1a071b2e3f45e1dd9f4ac1d62ed (patch)
treece8f0af21355b817ed5a311ee243c4f723b3ef0c /source/blender/blenkernel/BKE_object.h
parent5e3838faa2e6dae0ac52860085f5dc4b7a000ea5 (diff)
Cleanup: do not cleanup runtime data twice during ID copying...
More or less same code was being executed twice during ID copying. Makes no sense to add yet another switch-by-ID-type to handle specificaly runtime data during ID copying, we already have BKE_xxx_copy_data() functions for that.
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r--source/blender/blenkernel/BKE_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h
index 527d88917c9..e0f281c1039 100644
--- a/source/blender/blenkernel/BKE_object.h
+++ b/source/blender/blenkernel/BKE_object.h
@@ -306,7 +306,7 @@ int BKE_object_scenes_users_get(struct Main *bmain, struct Object *ob);
struct MovieClip *BKE_object_movieclip_get(struct Scene *scene, struct Object *ob, bool use_default);
void BKE_object_runtime_reset(struct Object *object);
-void BKE_object_runtime_reset_on_copy(struct Object *object);
+void BKE_object_runtime_reset_on_copy(struct Object *object, const int flag);
void BKE_object_batch_cache_dirty_tag(struct Object *ob);