Fix #106641: missing Annotation widgets #112688
No reviewers
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#112688
Loading…
Reference in New Issue
No description provided.
Delete Branch "MilanDavidovic/blender:fix-annotation-missing-widgets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Annotation layer widget was missing on the Tool Settings bar and the
side bar for some of the editors, as well as both color and layer
widgets on the Tool tab of the Properties editor.
Also fixed the Tool Settings bar not updating when drawing annotations
on the Image editor viewport, and the Tool panel in Properties editor
not updating when drawing annotations on the 3D scene.
Before above, after below:
Hi, thanks for the PR. Works correctly here. Added one comment.
Haven't checked the every case of space listener code but looks correct to me on first look.
@pablovazquez , can you review as well? 🙂
This PR is been around for ~5 months without review/reviewer. Sorry for that.
@ -187,0 +188,4 @@
row = layout.row(align=True)
row.prop(gpl, "color", text="Annotation")
row.popover(
panel="PROPERTIES_PT_annotation_layers",
why not to use
TOPBAR_PT_annotation_layers
here?If I remember correctly,
TOPBAR_PT_annotation_layers
didn't work for Tools tab in Properties when I was first fixing this. That's why I addedPROPERTIES_PT_annotation_layers
, the only difference beingbl_region_type = 'WINDOW
' instead of'HEADER'
. But now it works withTOPBAR_PT_annotation_layers
when applied to blender-v4.0-release.Should I change it to
TOPBAR_PT_annotation_layers
? The name doesn't really reflect the usage context though.Yes, I would prefer to use
TOPBAR_PT_annotation_layers
:)Sure, I'll make the change. :)
Thanks 🙏
I updated the first comment to include a capture that illustrates some of the changes here.
Accepting, but I think @pablovazquez should have the final say.
Thanks!
Makes sense to unify this. Thanks!
@blender-bot build
Just to check, I should merge main rather than rebase it and force push?
@MilanDavidovic hi, can you merge latest main in this branch? So we can run buildbot again (just to play on safer side 🙂). Builds are failing due to old code.
These sequence of commands might help ^
Great, thanks!
@blender-bot build
@ -418,3 +418,3 @@
def draw_header(self, context):
if context.space_data.type not in {'VIEW_3D', 'TOPBAR', 'SEQUENCE_EDITOR'}:
if context.space_data.type not in {'VIEW_3D', 'TOPBAR', 'SEQUENCE_EDITOR', 'IMAGE_EDITOR', 'NODE_EDITOR', 'PROPERTIES'}:
Thanks, one more formatting change is detected https://builder.blender.org/admin/#/builders/210/builds/1270 :
Thanks,
make format
didn't fix that one, I'll fix it now.This formatting change looks odd to me as well. But let's make the change for now :)
@blender-bot build
Merged, thanks for working on this 🙂
My pleasure :)