properties were being used with wrong type functions, this resulted in bad memory access when getting int from an enum.
This commit is contained in:
@@ -162,8 +162,8 @@ class VertexPaintDirt(bpy.types.Operator):
|
||||
obj = context.object
|
||||
|
||||
if not obj or obj.type != 'MESH':
|
||||
print('Error, no active mesh object, aborting')
|
||||
return('CANCELLED',)
|
||||
self.report({'ERROR'}, "Error, no active mesh object, aborting")
|
||||
return {'CANCELLED'}
|
||||
|
||||
mesh = obj.data
|
||||
|
||||
|
Reference in New Issue
Block a user