Inconsistency in a child's location relative to its parent's origin in Mesh vs Curve types. #100531

Open
opened 2022-08-21 06:27:22 +02:00 by Sleepy Star · 6 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.78

Blender Version
Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: e05e1e3691
Worked: N/A

Short description of error
Inconsistency in a child's location relative to its parent's origin in Mesh vs Curve types.
A Mesh child's transform location is relative to its origin.
However, a Curve child's transform location is relative to splines- [x].points[0].

Expected behavior: both Mesh and Curve types behave the same.
Actual/Observed behavior: Setting a Cube's child.location to (0,0,0) goes to the Cube's center. However, Setting a Curve's child.location to (0,0,0) goes to splines- [x].points- [x] despite a different origin.

Exact steps for others to reproduce the error

  1. Create a mesh Cube by using menu Add > Mesh > Cube.

  2. Create an empty by using Add > Empty > Plain Axis

  3. Parent empty to Cube, such that the empty is a child of the Cube.

  4. Create a curve Circle by using Add > Curve > Nurbs Circle.

  5. Create another empty by using Add > Empty > Plain Axis

  6. Parent empty from step 5 to Circle, such that the empty is a child of the Circle.

  7. Observe that the Cube's child empty is at the center of the Cube because its location is (0,0,0) relative to the Cube's origin.

  8. Observe that the Circle's child empty is to the left of the Circle's origin. It is actually at splines- .points[0].
    This is what we see:
    image.png

LocationOfChildrenOfMeshAndCurve.blend

Expected behavior: both Mesh and Curve types behave the same, so that a child's location is relative to the origin, not a point making the points on the Curve. Like the picture below:
image.png

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.78 **Blender Version** Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: `e05e1e3691` Worked: N/A **Short description of error** Inconsistency in a child's location relative to its parent's origin in Mesh vs Curve types. A Mesh child's transform location is relative to its origin. However, a Curve child's transform location is relative to splines- [x].points[0]. Expected behavior: both Mesh and Curve types behave the same. Actual/Observed behavior: Setting a Cube's child.location to (0,0,0) goes to the Cube's center. However, Setting a Curve's child.location to (0,0,0) goes to splines- [x].points- [x] despite a different origin. **Exact steps for others to reproduce the error** 1. Create a mesh Cube by using menu Add > Mesh > Cube. 2. Create an empty by using Add > Empty > Plain Axis 3. Parent empty to Cube, such that the empty is a child of the Cube. 4. Create a curve Circle by using Add > Curve > Nurbs Circle. 5. Create another empty by using Add > Empty > Plain Axis 6. Parent empty from step 5 to Circle, such that the empty is a child of the Circle. 1. Observe that the Cube's child empty is at the center of the Cube because its location is (0,0,0) relative to the Cube's origin. 2. Observe that the Circle's child empty is to the left of the Circle's origin. It is actually at splines- [x].points[0]. This is what we see: ![image.png](https://archive.blender.org/developer/F13408940/image.png) [LocationOfChildrenOfMeshAndCurve.blend](https://archive.blender.org/developer/F13408948/LocationOfChildrenOfMeshAndCurve.blend) Expected behavior: both Mesh and Curve types behave the same, so that a child's location is relative to the origin, not a point making the points on the Curve. Like the picture below: ![image.png](https://archive.blender.org/developer/F13408949/image.png)
Author

Added subscriber: @sleepystar96

Added subscriber: @sleepystar96
Contributor

Added subscriber: @scurest

Added subscriber: @scurest
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Pratik Borhade self-assigned this 2022-08-23 07:28:10 +02:00
Member

This happens if Path Animation is enabled for curve object. otherwise empty is parented to curve's center.
I'm not sure if this is working as expected or not. I'll investigate it later this week. Forwarding this report to developers for now

This happens if `Path Animation` is enabled for curve object. otherwise empty is parented to curve's center. I'm not sure if this is working as expected or not. I'll investigate it later this week. Forwarding this report to developers for now
Author

Hey @PratikPB2123, you're right, disabling path animation makes the child follow origin again.

Perhaps this should be documented somewhere? I cannot find anything related on https://docs.blender.org/manual/en/latest/modeling/curves/properties/geometry.html. Sorry if I missed it.

Thank for the quick response!

Best,
sleepystar

Hey @PratikPB2123, you're right, disabling path animation makes the child follow origin again. Perhaps this should be documented somewhere? I cannot find anything related on https://docs.blender.org/manual/en/latest/modeling/curves/properties/geometry.html. Sorry if I missed it. Thank for the quick response! Best, sleepystar
Pratik Borhade removed their assignment 2022-12-29 05:02:28 +01:00
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:27:22 +01:00
Sign in to join this conversation.
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
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#100531
No description provided.