Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
Thanks for the patch! Close, just one comment.
| source/blender/editors/screen/area.c | ||
|---|---|---|
| 461 | This should have a check for whether the panel is active. Looping through all of the region's panels contains everything, even panels that aren't visible. Because that's stored in the panel_runtime flag which has defines in interface_panel.c, you'll need to create a helper function there: bool UI_panel_is_active(Panel *panel)
{
return panel->runtime_flag & PANEL_ACTIVE;
} | |
Comment Actions
Wow that was a fast response :)
I've added that check now. Would be great if you could commit for me, also feel free do make adjustments if needed.