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>2012-09-27 16:24:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-27 16:24:38 +0400
commitd4e40b52309b69b2a4379db6df5a6ace9fad65e8 (patch)
tree1889b2be812b1946e0ddd8529d70dd647b276331 /source/blender/editors/include/ED_object.h
parentf3850ca13b2b8a970abaab05aab2b4e217420231 (diff)
fix [#32616] Changing parent does not keep transformation
add an option to apply the transform of an object when re-parenting. the reason for this is you dont always want to apply transform because... - your object may be driven/animated and the transformation will be lost. - with negative scales and rotation it can end up giving odd/not-useful results.
Diffstat (limited to 'source/blender/editors/include/ED_object.h')
-rw-r--r--source/blender/editors/include/ED_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h
index a08db8072f2..26c8b865377 100644
--- a/source/blender/editors/include/ED_object.h
+++ b/source/blender/editors/include/ED_object.h
@@ -86,7 +86,7 @@ extern struct EnumPropertyItem prop_clear_parent_types[];
extern struct EnumPropertyItem prop_make_parent_types[];
int ED_object_parent_set(struct ReportList *reports, struct Main *bmain, struct Scene *scene, struct Object *ob,
- struct Object *par, int partype, int xmirror);
+ struct Object *par, int partype, int xmirror, int keep_transform);
void ED_object_parent_clear(struct Object *ob, int type);
struct Base *ED_object_scene_link(struct Scene *scene, struct Object *ob);