Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'NoneType' object has no attribute 'instance_offset' #116

Open
S1lander opened this issue Mar 25, 2024 · 0 comments
Open

'NoneType' object has no attribute 'instance_offset' #116

S1lander opened this issue Mar 25, 2024 · 0 comments

Comments

@S1lander
Copy link

S1lander commented Mar 25, 2024

It seems to be working fine in a freshly created blender file, but when I try to use cad transform in an existing project I get this:

Traceback (most recent call last):
  File "C:\Users\silas\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\sl_ct\operators.py", line 2369, in invoke
    self.init(context, event)
  File "C:\Users\silas\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\sl_ct\operators.py", line 2350, in init
    self.init_handler(context, event)
  File "C:\Users\silas\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\sl_ct\operators.py", line 2303, in init_handler
    self._detector = Detector(context, event)
  File "C:\Users\silas\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\sl_ct\snapi\detector.py", line 75, in __init__
    self.start(context, event)
  File "C:\Users\silas\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\sl_ct\snapi\detector.py", line 88, in start
    engine.start(context, event)
  File "C:\Users\silas\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\sl_ct\snapi\raycast.py", line 179, in start
    self._add_collection_instance(empty, empty.matrix_world, empty.instance_collection)
  File "C:\Users\silas\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\sl_ct\snapi\raycast.py", line 95, in _add_collection_instance
    _space = space @ Matrix.Translation(-coll.instance_offset)
AttributeError: 'NoneType' object has no attribute 'instance_offset'

I'm using blender 4.0.2 and version 2.0.6 of cad transform on windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant