CGCookie / script-bakery

A collection of scripts written by members of CG Cookie to improve their Blender workflow.
124 stars 65 forks source link

Crash on Snap Cursor to Stroke if no stroke exists #103

Closed carter2422 closed 11 years ago

carter2422 commented 11 years ago
Traceback (most recent call last):
  File "/Users/jonathanwilliamson/Dropbox/resources/repositories/cgCookie/script-bakery/scripts/addons/contour_tools/__init__.py", line 738, in modal
    context.scene.cursor_location = self.selected.plane_com
ValueError: bpy_struct: item.attr = val: sequence expected at dimension 1, not 'NoneType'

location: <unknown location>:-1

http://cl.ly/QwYT

patmo141 commented 11 years ago

whoops, didn't mean to actually close it with the commit. Re-opening until confirmed test

carter2422 commented 11 years ago

Confirmed that this is fixed. But there's a second issue I just noticed that's related. Added #104