diff options
author | Brendon Murphy <meta.androcto1@gmail.com> | 2015-08-25 13:21:32 +0300 |
---|---|---|
committer | Brendon Murphy <meta.androcto1@gmail.com> | 2015-08-25 13:21:32 +0300 |
commit | 0a8331db8fa64c9c4486b130463f2fc06dfc6559 (patch) | |
tree | c02cc8950e02450980e0596adfbcef3032b2e53e | |
parent | 7cde1c98a02c78c26154edf3cef2ef9fd8936ad1 (diff) |
improved error reports: T45372 thanks Leon(Leon95)
-rw-r--r-- | mesh_bsurfaces.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesh_bsurfaces.py b/mesh_bsurfaces.py index 4c572800..80595e78 100644 --- a/mesh_bsurfaces.py +++ b/mesh_bsurfaces.py @@ -3205,7 +3205,7 @@ class GPENCIL_OT_SURFSK_add_surface(bpy.types.Operator): bpy.context.user_preferences.edit.use_global_undo = self.initial_global_undo_state if created_faces_count == 0: - self.report({'WARNING'}, "There aren't any strokes.") + self.report({'WARNING'}, "There aren't any strokes attatched to the object") return {"CANCELLED"} else: return {"FINISHED"} @@ -3226,7 +3226,7 @@ class GPENCIL_OT_SURFSK_add_surface(bpy.types.Operator): return{"CANCELLED"} elif self.strokes_type == "NO_STROKES": - self.report({'WARNING'}, "There aren't any strokes.") + self.report({'WARNING'}, "There aren't any strokes attatched to the object") return{"CANCELLED"} elif self.strokes_type == "CURVE_WITH_NON_BEZIER_SPLINES": @@ -3298,7 +3298,7 @@ class GPENCIL_OT_SURFSK_edit_strokes(bpy.types.Operator): self.report({'WARNING'}, "There shouldn't be more than one secondary object selected.") return{"CANCELLED"} elif self.strokes_type == "NO_STROKES" or self.strokes_type == "SELECTION_ALONE": - self.report({'WARNING'}, "There aren't any strokes.") + self.report({'WARNING'}, "There aren't any strokes attatched to the object") return{"CANCELLED"} else: return{"CANCELLED"} |