part of T56351
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
| release/scripts/templates_py/operator_modal_draw.py | ||
|---|---|---|
| 5 | Better move this line into draw_callback_px. Getting the shader is not allowed when Blender is started without UI, so it should not be executed when not needed. | |
Comment Actions
Just one minor thing. Other than that seems fine.
| release/scripts/templates_py/operator_modal_draw.py | ||
|---|---|---|
| 22 | couldn't you just pass self.mouse_path in here directly? | |
Comment Actions
Ha, totally true :) ... maybe a tiny tad less readable (for a template), but will commit with your suggestion (seems better after all)...