Geometry Nodes: Is Edit Mode Node #106970
No reviewers
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#106970
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "dodododorian/blender:main"
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 patch adds a new "Is Edit Mode" node for evaluating if the
self_object()
is in edit mode. This is useful for GeometryNode creators to optimize their node tree when the node-group user is editing the base mesh.This idea was requested by my collaborator Baga, his generator is heavy, and he would like to turn down some settings when his users are editing their base mesh.Example.
Status: Finished, Awaiting Design Approval
Two alternative design have been proposed:
@ -35,4 +35,4 @@ License
Blender as a whole is licensed under the GNU General Public License, Version 3.
Individual files may have a different, but compatible license.
See [blender.org/about/license](https://www.blender.org/about/license) for details.
This was not intentional. Don't understand why it was picked up by gitea as a change
In that case update your PR please :)
Thanks, I used to submit .diff files, everything was much simpler back then.
How can i tell gitea to ignore the "changes" of README.md ?
Check out your branch, make the change, commit and push again to the same PR.
Instructions are here
WIP: GeometryNode IsEditMode Nodeto GeometryNode IsEditMode NodeGeometryNode IsEditMode Nodeto GeometryNode IsEditMode NodeGeometryNode IsEditMode Nodeto GeometryNode IsEditMode NodeGeometryNode IsEditMode Nodeto Geometry Nodes: Is Edit Mode NodeHi, I hope this gets through. I have one concern though. Some Geometry Node systems depend on different objects. With this node you can only check for the object, where the modifier is on. For example the new hair system could not take advantage of this. Maybe add an Object as Input? Though this would make it similar to my approach, which was rejected #106305
Hi, I agree it won't be able to cover standalone "empty" objects. Personally, I would much prefer to have a powerful flexible node that could access any data contained within the .blend the user could think of, such as 106989 or my Python Api node.
For example, here's a user optimizing his experience with some simple Python API call. Proposing flexibility is important, the users are not predictable.
But well, that's up to the design team.
PS: link is broken
I agree, this would be amazing. Link should be fixed. It would be an option, but sadly i think it wasn't rejected because of the output type:
Originally posted by @JacquesLucke in /blender/blender/pulls/106305#issuecomment-911946
Alternative proposal:
Extending object info mode with additional information.
Similar to #106305 but with a few new string outputs instead of an non-user friendly integer
Note that the name is not currently supported by geonode depsgraph, but i don't see why it's a big deal to re-evaluate node on rename, rename operations arent't that common
@dodododorian thanks for the proposal !
It will help optimize performance and enhance the user experience when editing base meshes, especially in large node trees that can be laggy.
Most criticisms directed at this proposal can also be applied to the existing "Is Viewport" node.
The alternative proposal is interesting, but an "Is Edit Mode" node is more consistent with the existing "Is Viewport" node.
An "Is Object Mode" node might be even more desirable, as it could take into account sculpt, edit mode, and other modes.
@Antoine_Bagattini
Is it bad, when different nodes return similar things? Because then we could do a Is Object Mode Node. And maybe laiter add more properties to the object info node, like in the alternative proposial. This would keep it "beginner" friendly, but also give the option for more detailed settings. But I could also imagine, that this would make blender "bloated".
The object-mode information as a string output in the object-info node proposal is more flexible & elegant than a simple boolean input IMO
Advantages:
Inconvenience:
Not really. I believe that the 'Is Object Mode' node is the best solution.
It's really nice, but the 'Is Object Mode' is more consistent and easier to use.
I realize it's been quite a while, but we did talk about this towards the end of last year. Our conclusion that "Is Edit Mode" isn't the right name or abstraction for this sort of check, but overall this sort of functionality would be nice.
A global "interactivity level" similar to the scene simplify settings would generalize better. This could be automatically set, controlled by addons, or adjusted directly by the user, and readable in geometry nodes. It's also potentially related to the "Is Viewport" node. If there was someone willing to spend time implementing a design like that, we could spend time talking about it more and getting to the specifics.
However, it's clear the design proposed here isn't quite what we'd go for in the end, so I'll close this PR.
Pull request closed