Skip to content
Snippets Groups Projects
Commit d68cdda4 authored by Eugenio Pignataro's avatar Eugenio Pignataro
Browse files

Fix: error message in None selected objects

parent 6695fc64
No related branches found
Tags
No related merge requests found
......@@ -214,7 +214,7 @@ class OscMeshCacheUp(bpy.types.Operator):
@classmethod
def poll(cls, context):
return(bpy.context.object.type == "MESH")
return(bpy.context.object != None and bpy.context.object.type == "MESH")
def execute(self, context):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment