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>2013-08-28 08:17:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-28 08:17:48 +0400
commit48a637a4e4a4ab2a8c98caa1bf1ee17940b67d23 (patch)
treeae278e9d822bb81d190f545ad0c52282c3817b8a /source/blender/editors/object/object_transform.c
parent9e561a641ecd8db55a7bb67abe961b4f2eb1734d (diff)
warn when applying transformation does nothing, confusion pointed out in [#36583]
Diffstat (limited to 'source/blender/editors/object/object_transform.c')
-rw-r--r--source/blender/editors/object/object_transform.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_transform.c b/source/blender/editors/object/object_transform.c
index 366aa72f2b8..b5c06f6d0bb 100644
--- a/source/blender/editors/object/object_transform.c
+++ b/source/blender/editors/object/object_transform.c
@@ -589,8 +589,10 @@ static int apply_objects_internal(bContext *C, ReportList *reports, int apply_lo
}
CTX_DATA_END;
- if (!change)
+ if (!change) {
+ BKE_report(reports, RPT_WARNING, "Objects have no data to transform");
return OPERATOR_CANCELLED;
+ }
WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, NULL);
return OPERATOR_FINISHED;