Missed when renaming tool settings
authorCampbell Barton <ideasman42@gmail.com>
Tue, 18 Dec 2018 05:40:48 +0000 (16:40 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 18 Dec 2018 05:40:48 +0000 (16:40 +1100)
release/scripts/startup/bl_ui/properties_grease_pencil_common.py

index 8ba0ac6303c375433a266af9ecb3ea89757f7702..9ba2c0645d12f714ba728d6f911bc35aed6a4416 100644 (file)
@@ -40,8 +40,8 @@ def gpencil_stroke_placement_settings(context, layout):
     if context.space_data.type != 'VIEW_3D':
         col.label(text="Stroke Placement:")
         row = col.row(align=True)
-        row.prop_enum(ts, propname, 'VIEW')
-        row.prop_enum(ts, propname, 'CURSOR', text="Cursor")
+        row.prop_enum(tool_settings, propname, 'VIEW')
+        row.prop_enum(tool_settings, propname, 'CURSOR', text="Cursor")
 
 
 def gpencil_active_brush_settings_simple(context, layout):