muhuk / meshstats

Blender addon that provides mesh statistics
GNU General Public License v3.0
17 stars 0 forks source link

Crash when BSurfaces `Add Surface` is run #4

Open muhuk opened 7 months ago

muhuk commented 7 months ago

BSurfaces works fine when I disable meshstats addon. Blender crashes when I try to Add Surface when meshstats is enabled.

From /tmp/blender.crash.txt:

./blender-4.0.2-linux-x64/blender() [0x72521b]
/lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7fe93004624a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fe930046305]
./blender-4.0.2-linux-x64/blender() [0x8c022e]

# Python backtrace
  File "/home/muhuk/.config/blender/4.0/scripts/addons/meshstats/context.py", line 27 in get_object
  File "/home/muhuk/.config/blender/4.0/scripts/addons/meshstats/mesh.py", line 366 in app__depsgraph_update_post
  File "/home/muhuk/lib/blender/blender-4.0.2-linux-x64/4.0/scripts/modules/bpy/ops.py", line 68 in _view_layer_update
  File "/home/muhuk/lib/blender/blender-4.0.2-linux-x64/4.0/scripts/modules/bpy/ops.py", line 112 in __call__
  File "/home/muhuk/lib/blender/blender-4.0.2-linux-x64/4.0/scripts/addons/mesh_bsurfaces.py", line 1395 in crosshatch_surface_invoke
  File "/home/muhuk/lib/blender/blender-4.0.2-linux-x64/4.0/scripts/addons/mesh_bsurfaces.py", line 3347 in invoke

Using Blender 4.0.2.

muhuk commented 3 months ago

It doesn't seem like I can do anything. Accessing bpy.context.active_object causes the segfault.

https://projects.blender.org/extensions/mesh_bsurfaces/issues/1