WIP: Compositor Viewer shortcuts prototype #105268
No reviewers
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#105268
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "zazizizou/blender-addons:com-wrangler-viewer-shortcuts"
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 is a prototype to be used for user validation.
Press Ctrl+1 to view selected node and set to favorites
Press 1 to view favorite node
Same goes for pressing 2, 3, 4 and 5
@blender-bot package
Can only build blender/blender and blender/blender-manual. See documentation for details.
This looks very useful! RTS-style :D
@ -489,0 +493,4 @@
bl_description = "Preview favorite nodes by pressing 1, 2, 3, 4 and 5"
bl_options = {'REGISTER', 'UNDO'}
# Workaround: simulating a dict with json.loads() and json.dumps()
You can store the dict directly here, I don’t think you need to bother serializing to a property.
That didn't seem to work. I think it has to be a property for it to be persistent throughout the lifetime of the operator.
@ -489,0 +518,4 @@
temp_dict[self.viewer_index] = n1.name
self.node_preview_map = json.dumps(temp_dict)
bpy.ops.node.link_viewer()
With a slight modification of
NWPreviewNode
, you could use this to make it work in shader trees as well:@ -2592,6 +2641,63 @@ class NWAddMultipleImages(Operator, NWBase, ImportHelper):
return {'FINISHED'}
class NWViewerFocus(bpy.types.Operator):
I think this was added back by mistake?
@pioverfour thanks for looking into this! I was hoping I could create an installer directly with this patchset, but I will create a general devtalk thread with some other proposals and then address your comments, if we decide to move on with the solution as an add-on
No problem! I hadn’t understood it was too early for review.
Compositor Viewer shortcuts prototypeto WIP: Compositor Viewer shortcuts prototypeNode wrangler moved to core so I'm closing this issue. Followup is blender/blender#123641. Still WIP and still planning to move it to C/C++ if feedback is good.
Pull request closed