Releases: bonjorno7/ExampleAddon
Hide and Show HUD
Added hide_hud and show_hud utils, to hide and show the toolbar, sidebar, and redo panel.
Print tracebacks instead of only reporting them, because reports don't always work out.
Removed safety decorator from execute because it doesn't serve a purpose there.
Did some minor fixes.
3D Wireframe
Made utils.draw_3d submodule with wireframe function.
Upgraded 3D drawing.
And other minor improvements.
Text Improvements
Adjusted text spacing.
Added drop shadows.
Scaled drawing with UI scale.
Hardcoded DPI for text.
Lowered cursor warp offset.
2D Drawing
Simplified utils.safety.respond function.
Added ctrl to snap for modal.
Fixed rounding in status and header.
Created utils.draw_2d module.
Upgraded 2D drawing in operator.
Added notes to operator.
Added docstrings to utils functions.
Draw Panel
Rename menu to pie, because it is a pie.
Make alt pass through in modal.
Remove some redundant ui utilities.
Move some ops utilities to ui.
Manually implement draw panel for operator.
Add useless checkbox to operator.
Add Z to error to status bar.
Drawing and Cleanup
Added operator drawing, 2D and 3D, though very basic.
Unified the three safety decorators into one.
Moved the setting and clearing of status and header into the operator for transparency.
Added scene statistics to status bar.
Did some cleanup here and there.
Safety First
Removed unnecessary argument for utils.ops.clear_status_and_header.
Implemented safety decorators.
Keymaps and Menus
Added keymaps and a pie menu.
Modal Operator
Replaced options dict with kwargs in draw_op.
Added utils.ops submodule.
Removed utils.common.description.
Upgraded example operator to modal.
Added keyword argument to panel button.
Panel Update
All panels are in the same file now, and derive from a base class.
The bl_category for the base class is used in prefs too.
This way you only have to edit it in one place.