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>2014-05-05 09:22:36 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-05-05 09:23:35 +0400
commitb82d639f3dea92fa9be7e38c5e76617dc07251a9 (patch)
tree1bfa101f105ccc679ffb52fa34de1f333e4dda3e /source/blender/editors/armature
parentcf069afdfd11d8200a57cf8a4307d0e664ac4ecc (diff)
Stop all dynamic enums using translations (from blend file data)
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/pose_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/armature/pose_lib.c b/source/blender/editors/armature/pose_lib.c
index fb510473b11..3f4f720ccdb 100644
--- a/source/blender/editors/armature/pose_lib.c
+++ b/source/blender/editors/armature/pose_lib.c
@@ -610,6 +610,7 @@ void POSELIB_OT_pose_remove(wmOperatorType *ot)
/* properties */
prop = RNA_def_enum(ot->srna, "pose", DummyRNA_NULL_items, 0, "Pose", "The pose to remove");
RNA_def_enum_funcs(prop, poselib_stored_pose_itemf);
+ RNA_def_property_flag(prop, PROP_ENUM_NO_TRANSLATE);
ot->prop = prop;
}
@@ -699,6 +700,7 @@ void POSELIB_OT_pose_rename(wmOperatorType *ot)
ot->prop = RNA_def_string(ot->srna, "name", "RenamedPose", 64, "New Pose Name", "New name for pose");
prop = RNA_def_enum(ot->srna, "pose", DummyRNA_NULL_items, 0, "Pose", "The pose to rename");
RNA_def_enum_funcs(prop, poselib_stored_pose_itemf);
+ RNA_def_property_flag(prop, PROP_ENUM_NO_TRANSLATE);
}
/* ************************************************************* */