Brushstroke Tools: Initial Version #328
@ -103,6 +103,10 @@ class BSBST_OT_new_brushstrokes(bpy.types.Operator):
|
||||
surface_object = context_object if context.object in context.selected_objects else None
|
||||
flow_object = None
|
||||
|
||||
if not surface_object.data.uv_layers.active:
|
||||
self.report({"ERROR"}, "Surface Object needs an available UV Map")
|
||||
return {"CANCELLED"}
|
||||
|
||||
name = 'Brushstrokes'
|
||||
brushstrokes_object = self.new_brushstrokes_object(context, name)
|
||||
flow_is_required = settings.brushstroke_method == 'SURFACE_FILL'
|
||||
|
Loading…
Reference in New Issue
Block a user