chsh2 / nijiGPen

An add-on of Blender focusing on Grease Pencil
GNU General Public License v3.0
220 stars 9 forks source link

Problem with strokes #1

Closed b4zz4 closed 1 year ago

b4zz4 commented 1 year ago

Generally works well, but this attribute (layer.active_frame.strokes) seems to not exist in blender 3.2

Python: Traceback (most recent call last):
  File "/home/bazza/.config/blender/3.2/scripts/addons/nijigp/operator_polygon.py", line 121, in execute
    for j,stroke in enumerate(layer.active_frame.strokes):
AttributeError: 'NoneType' object has no attribute 'strokes'
chsh2 commented 1 year ago

I tried to fix this issue in v0.1.1 release. Does it work for you? By the way, are you using Blender in Linux? May I ask which specific build you are using?

b4zz4 commented 1 year ago

Arch Linux Blender 3.2.2 build date: 2022-08-03

Thanks. Great, work. I love addon.