Fix #113194: show the single value for sockets of type field #113244
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#113244
Loading…
Reference in New Issue
No description provided.
Delete Branch "Vasilis-Milios/blender:fix-issue-113194"
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?
Hopefully didn't screw this up 😅
@ -76,5 +76,6 @@ struct AnonymousAttributeInferencingResult {
Array<const nodes::aal::RelationsInNode *> get_relations_by_node(const bNodeTree &tree,
ResourceScope &scope);
bool update_anonymous_attribute_relations(bNodeTree &tree);
bool is_possible_field_socket(const eNodeSocketDatatype type);
const eNodeSocketDatatype type
->eNodeSocketDatatype type
(Const modifier for trivial type arguments can be omitted in header declaration).@ -1513,3 +1514,3 @@
if (interface_socket->flag & NODE_INTERFACE_SOCKET_INPUT && node_tree->type == NTREE_GEOMETRY) {
uiItemR(col, &ptr, "hide_in_modifier", DEFAULT_FLAGS, nullptr, ICON_NONE);
uiItemR(col, &ptr, "force_non_field", DEFAULT_FLAGS, nullptr, ICON_NONE);
if (blender::bke::anonymous_attribute_inferencing::is_possible_field_socket(type)) {
namespace blender::ed::space_node {
this is already inblender
namespace, so this can bebke::anonymous_attribute_inferencing
.Oh, I just moved that function around myself in
beac6599fb
. Bad timing, sry. Can you update the patch?No worries :).
Updated!
Looks good. Since this is a bug fix, it should go into the
blender-v4.0-release
branch. However, currently this patch is set to be merged intomain
. Updating the patch for that involves two steps:blender-v4.0-release
.See this for more details about the release branch.
If that's too complex for you for now, I can also just commit this patch manually in the release branch, but might be a helpful learning experience for you to update the patch.
8686dba17f
to7c4700591b
Fix #113194: show the single value for sockets of type fieldto Fix #113194: show the single value for sockets of type fieldI am not sure I did it correctly.
Lots of file changes and commits I think😓.
It looks like the pull request now also tries to merge everything from
main
into the release branch, so it's indeed not quite right..7c4700591b
to5c7860cb2d
Damnit 😠 .
Sorry haven't done this before. Will fix.
No worries, just try until it works and make sure you learn something along the way :)
5c7860cb2d
tof2945bd4be
Couldn't think of a way to save the branch 😅 .
So deleted it, checked out from v4.0-release and applied the changes there.
Hope that's what you meant.
Yes thanks. Sorry for the back and forth. I will it merge in a moment because I'll have to fix the merge conflict when merging this into
main
afterwards.No worries.
That was fun :D.
If you need any help with any other simple tickets, feel free to cc me.