Skip to content

Poll not robust enough for F3 from nodeview. #68

@zeffii

Description

@zeffii

mesh_tiny_cad/BIX.py

Lines 87 to 90 in 5f9503f

@classmethod
def poll(cls, context):
obj = context.active_object
return all([obj is not None, obj.type == 'MESH', obj.mode == 'EDIT'])

error, though harmless

Traceback (most recent call last):
  File "C:\Users\zeffi\Desktop\test_blenders\current_28\2.82\scripts\addons\mesh_tiny_cad\BIX.py", line 90, in poll
    return all([obj is not None, obj.type == 'MESH', obj.mode == 'EDIT'])
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions