diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-19 18:19:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-19 18:19:53 +0400 |
commit | bc52cb1be305998ca93d3a344963727b5ad2c979 (patch) | |
tree | 1dca8cb84126675b7519ccec2722eb427fb836a1 /source/blender/editors/object/object_transform.c | |
parent | 917252175dce5d4425de76763b2b4d4c88391283 (diff) |
fix for apply rotation/location failing for surface object types (were recognized as 2d curves).
Diffstat (limited to 'source/blender/editors/object/object_transform.c')
-rw-r--r-- | source/blender/editors/object/object_transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_transform.c b/source/blender/editors/object/object_transform.c index 9dd34623739..13523154d62 100644 --- a/source/blender/editors/object/object_transform.c +++ b/source/blender/editors/object/object_transform.c @@ -424,7 +424,7 @@ static int apply_objects_internal(bContext *C, ReportList *reports, int apply_lo cu = ob->data; - if (!(cu->flag & CU_3D) && (apply_rot || apply_loc)) { + if (((ob->type == OB_CURVE) && !(cu->flag & CU_3D)) && (apply_rot || apply_loc)) { BKE_report(reports, RPT_ERROR, "Neither rotation nor location could be applied to a 2D curve, doing nothing"); change = 0; |