diff options
Diffstat (limited to 'mesh_looptools.py')
-rw-r--r-- | mesh_looptools.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesh_looptools.py b/mesh_looptools.py index 36e4a5c2..b05c7830 100644 --- a/mesh_looptools.py +++ b/mesh_looptools.py @@ -3717,15 +3717,15 @@ class RemoveGP(bpy.types.Operator): bl_label = "Remove GP" bl_description = "Remove all Grease Pencil Strokes" bl_options = {'REGISTER', 'UNDO'} - + def execute(self, context): - + if context.gpencil_data is not None: bpy.ops.gpencil.data_unlink() else: self.report({'INFO'}, "No Grease Pencil data to Unlink") return {'CANCELLED'} - + return{'FINISHED'} class GStretch(bpy.types.Operator): |