mx1001 / power_snapping_pies

Power snapping pies updated for 2.8
55 stars 11 forks source link

fix bug when calling menu with no object #2

Closed x123 closed 5 years ago

x123 commented 5 years ago

Steps to replicate bug:

Have nothing in the scene and no objects selected. Try to call Shift-S

The fix: Check to make sure context.object even exists before trying to add the context-dependent pie options.