Fix #109171: Delete curve instead trying to create empty result #109172

Merged
Hans Goudey merged 1 commits from mod_moder/blender:tmp_fix_zero_offsets_curve into blender-v3.6-release 2023-06-21 02:28:05 +02:00

If accumulated amount of points is zero, next offsets
will be empty too. Instead to expand offsets to create
empty curve, just delete source curve and skip any next steps.

If accumulated amount of points is zero, next offsets will be empty too. Instead to expand offsets to create empty curve, just delete source curve and skip any next steps.
Iliya Katushenock added the
Interest
Geometry Nodes
label 2023-06-20 20:25:44 +02:00
Iliya Katushenock requested review from Hans Goudey 2023-06-20 20:26:01 +02:00
Iliya Katushenock added this to the Nodes & Physics project 2023-06-20 20:26:05 +02:00
Hans Goudey approved these changes 2023-06-20 21:18:21 +02:00
Hans Goudey reviewed 2023-06-20 21:18:57 +02:00
@ -333,1 +333,4 @@
}
if (dst_points_num == 0) {
geometry_set.remove_geometry_during_modify();
Member

Actually, I think this should only remove the curve component, not all the geometry.

Actually, I think this should only remove the curve component, not all the geometry.
Author
Member

The same behavior for all other function, if node work for mesh, curves is deleted... I think it would be nice to change the behavior of the node

The same behavior for all other function, if node work for mesh, curves is deleted... I think it would be nice to change the behavior of the node
Member

Ah okay, you're right that it's consistent right now though. Better to change this later. I think the logic is that "duplicate elements" is really generating a new geometry with parts of the original, I remember talking about that before. Not the highest priority thing IMO.

Ah okay, you're right that it's consistent right now though. Better to change this later. I think the logic is that "duplicate elements" is really generating a new geometry with parts of the original, I remember talking about that before. Not the highest priority thing IMO.
mod_moder marked this conversation as resolved
Member

Humm, was going to merge this but I think it should go to 3.6, no?

Humm, was going to merge this but I think it should go to 3.6, no?
Author
Member

Ah, LTS... yep

Ah, LTS... yep
Iliya Katushenock changed title from Fix #109171: Delete curve instead trying to create empty result to Fix #109171: Delete curve instead trying to create empty result 2023-06-20 22:06:40 +02:00
mod_moder changed target branch from main to blender-v3.6-release 2023-06-20 22:06:46 +02:00
Iliya Katushenock changed title from Fix #109171: Delete curve instead trying to create empty result to Fix #109171: Delete curve instead trying to create empty result 2023-06-20 22:10:26 +02:00
mod_moder changed target branch from blender-v3.6-release to main 2023-06-20 22:10:33 +02:00
Iliya Katushenock changed title from Fix #109171: Delete curve instead trying to create empty result to Fix #109171: Delete curve instead trying to create empty result 2023-06-20 22:45:44 +02:00
Iliya Katushenock force-pushed tmp_fix_zero_offsets_curve from 37ebec0da7 to 82e46e660a 2023-06-21 00:14:56 +02:00 Compare
Iliya Katushenock changed title from Fix #109171: Delete curve instead trying to create empty result to Fix #109171: Delete curve instead trying to create empty result 2023-06-21 00:15:34 +02:00
mod_moder changed target branch from main to blender-v3.6-release 2023-06-21 00:15:36 +02:00
Author
Member

Everything seems to be ready.

Everything seems to be ready.
Hans Goudey merged commit fa505d7c18 into blender-v3.6-release 2023-06-21 02:28:05 +02:00
Iliya Katushenock deleted branch tmp_fix_zero_offsets_curve 2023-06-21 12:24:59 +02:00
Sign in to join this conversation.
No reviewers
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 Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#109172
No description provided.