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:
authorJacques Lucke <mail@jlucke.com>2019-01-21 15:43:16 +0300
committerJacques Lucke <mail@jlucke.com>2019-01-21 15:43:16 +0300
commit0c829e8240eebd7ce4ed9d61f8682c0d6bf534f4 (patch)
tree4480e2c05480b1fae898f9ef1664a4fda2bb3886 /source/blender/editors/object
parentba4de7f1a58430c0e6153612bd585e3642d06b2d (diff)
Fix T60709: Apply Object Transform does nothing by default
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r--source/blender/editors/object/object_transform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_transform.c b/source/blender/editors/object/object_transform.c
index a30bc60eba6..2c85963ff17 100644
--- a/source/blender/editors/object/object_transform.c
+++ b/source/blender/editors/object/object_transform.c
@@ -786,9 +786,9 @@ void OBJECT_OT_transform_apply(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
- RNA_def_boolean(ot->srna, "location", 0, "Location", "");
- RNA_def_boolean(ot->srna, "rotation", 0, "Rotation", "");
- RNA_def_boolean(ot->srna, "scale", 0, "Scale", "");
+ RNA_def_boolean(ot->srna, "location", true, "Location", "");
+ RNA_def_boolean(ot->srna, "rotation", true, "Rotation", "");
+ RNA_def_boolean(ot->srna, "scale", true, "Scale", "");
RNA_def_boolean(ot->srna, "properties", true, "Apply Properties",
"Modify properties such as curve vertex radius, font size and bone envelope");
}