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-09-16 11:03:41 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-09-16 11:03:41 +0300
commit345fb22ea3f72f80ccb46f78cabc64d6d1bc5245 (patch)
tree7b32af3693396f1d83d669812584e3e24f3a065b /source/blender
parent330a37f3897d051ac7a81f13ffb69cc78c617e54 (diff)
Fix T64238: Scene Full Copy: Cameras bound to markers does not update.
That's exactly why we should get rid of all those 'custom cases' remapping code, it's hard enough to keep a single place (library_query.c) up to date and 100% valid, but having more areas doing their own remapping is just impossible to maintain... Some day...
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/object/object_relations.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c
index 0d20a07dcee..10ed26fcf59 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -1817,6 +1817,10 @@ static void single_object_users(
if (v3d) {
ID_NEW_REMAP(v3d->camera);
}
+ /* Camera pointers of markers. */
+ for (TimeMarker *marker = scene->markers.first; marker; marker = marker->next) {
+ ID_NEW_REMAP(marker->camera);
+ }
/* Making single user may affect other scenes if they share
* with current one some collections in their ViewLayer. */