New Object Display Pie (Shift+W) #26
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
need info
not a bug
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: extensions/space_view3d_pie_menus#26
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "object_display_pie"
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?
This PR adds a pretty basic pie menu exposing Object Viewport Shading settings, on the Shift+W default shortcut.
Goals were:
This pie with its "Shading Operations" drop-down makes it clear that those are destructive operations, while also providing access to per-object viewport display options. These only affect the active object, unless you hold Alt, like with any property in Blender.
Operators always affect all selected objects.
It also adds a new "Reset Normals" operator for meshes, which can be useful when beginner users import a mesh with broken normals and are confused why it might be broken. This operator will cover all bases to nuke any custom normal data on all selected mesh objects.
The pie menu shows context-sensitive properties based on the active object type. And it cannot be invoked without an active object.
I expect this to be fairly non-controversial, so I aim to land it in the next version in a few days. But feedback would still be welcome!
Thank you for adding this convenient pie menu.
❌ bug? I can't change the color of my selected object with the Color slice (located at the top).
8b8a5203c0
to8231e17796
You have to make sure your viewport shading is actually set to show object colors.
And it doesn't work if you keep holding the shortcut of the pie, you have to just tap it.
Lmk if that doesn't help. Should work as far as I can tell.
Would it be possible to colorize several objects at once (if those are selected) ?
Otherwise the user would have to select each object one by one to give an object the same color.
And would it be possible to add a button to Randomize the color of the selected objects?
If one object is selected, clicking on the button several times would (obviously) affect it several different colors in a row.
And if several objects are selected, each object would get a different random color.
Here a script that perhaps could help:
Damn, I didn't realize color wheels don't support holding Alt to affect all selected objects. That almost feels like a Blender bug... Thanks for pointing that out, I'll see what I can do.
Edit: Seems to be a confirmed Blender bug. blender/blender#118240
I've given it a nudge and will see what happens for now. If it gets fixed for 4.3 then I won't bother adding a workaround in the add-on.