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/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-05-06 15:47:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-05-06 15:47:10 +0400
commitcbf7d507c54b21140fb3a5334ae7d971096d3497 (patch)
tree7fca503de7eb1f907d214555672f8ee13f571833 /source
parent1de451ff2d3f03e1a868e9dbbfea81ed578a5c4b (diff)
last commit broke linking to scenes from the UI
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/animation/anim_markers.c1
-rw-r--r--source/blender/editors/object/object_relations.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_markers.c b/source/blender/editors/animation/anim_markers.c
index edad0b724d7..719b46738d3 100644
--- a/source/blender/editors/animation/anim_markers.c
+++ b/source/blender/editors/animation/anim_markers.c
@@ -1112,6 +1112,7 @@ static void MARKER_OT_make_links_scene(wmOperatorType *ot)
/* properties */
prop= RNA_def_enum(ot->srna, "scene", DummyRNA_NULL_items, 0, "Scene", "");
RNA_def_enum_funcs(prop, RNA_scene_itemf);
+ ot->prop= prop;
}
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c
index 939c868e19e..1f970b50716 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -1266,6 +1266,7 @@ void OBJECT_OT_make_links_scene(wmOperatorType *ot)
/* properties */
prop= RNA_def_enum(ot->srna, "scene", DummyRNA_NULL_items, 0, "Scene", "");
RNA_def_enum_funcs(prop, RNA_scene_local_itemf);
+ ot->prop= prop;
}
void OBJECT_OT_make_links_data(wmOperatorType *ot)