Parenting to empty with driver causes wrong append action, that creates new scene. #113435

Open
opened 2023-10-09 04:51:07 +02:00 by Vyacheslav Kobozev · 5 comments

System Information
Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 537.13

Blender Version
Broken: 3.6.4, 21bfc5e7fe3f, 2023-09-25 13:24
Worked: ???

Short description of error
To reproduce:
Clean file
Create an empty, create cube, parent cube,
Now try to append theese objects to another file.
All will work well. Until you add driver to emty`s transforms.
So add driver to empty transform (i made rotation from current_frame)
Try to append again. Blender will create whole new scene and place driven empty and cube there, instead main scene and active collection.

You can try with my file.

empty.blend

Here how it happens

**System Information** Operating system: Windows-10-10.0.17763-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 537.13 **Blender Version** Broken: 3.6.4, `21bfc5e7fe3f`, 2023-09-25 13:24 Worked: ??? **Short description of error** To reproduce: Clean file Create an empty, create cube, parent cube, Now try to append theese objects to another file. All will work well. Until you add driver to emty`s transforms. So add driver to empty transform (i made rotation from current_frame) Try to append again. Blender will create whole new scene and place driven empty and cube there, instead main scene and active collection. You can try with my file. [empty.blend](/attachments/364b60c9-5d7d-486e-8f6a-10deaecf277d) Here how it happens <video src="/attachments/d3ce9b54-9d3e-46ff-91fd-ead3539cc688" title="2023-10-09_05-41-55.mp4" controls></video>
Vyacheslav Kobozev added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2023-10-09 04:51:08 +02:00
Member

Hi! I believe this is working as expected. Since the driver is referring the frame_current property from the "Scene" scene, then the empty has a dependency on "Scene" (otherwise it doesn't). So you can choose to use "Context property" mode for the driver variable, this way it will keep the reference to "Active Scene" instead of any specific scene, and this way you can append these objects without including the "Scene" scene.

图片

Thanks for reporting, will close this issue :D

Hi! I believe this is working as expected. Since the driver is referring the `frame_current` property from the "Scene" scene, then the empty has a dependency on "Scene" (otherwise it doesn't). So you can choose to use "Context property" mode for the driver variable, this way it will keep the reference to "Active Scene" instead of any specific scene, and this way you can append these objects without including the "Scene" scene. ![图片](/attachments/faa349dc-2e42-4316-9e12-a810da19c6ac) Thanks for reporting, will close this issue :D
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-10-09 05:04:10 +02:00

Hi! I believe this is working as expected. Since the driver is referring the frame_current property from the "Scene" scene, then the empty has a dependency on "Scene" (otherwise it doesn't). So you can choose to use "Context property" mode for the driver variable, this way it will keep the reference to "Active Scene" instead of any specific scene, and this way you can append these objects without including the "Scene" scene.

Thanks, i tested. Even if i use Active scene, blender do the same: creates new scene after append.

So is there a way to append to current scene?

> Hi! I believe this is working as expected. Since the driver is referring the `frame_current` property from the "Scene" scene, then the empty has a dependency on "Scene" (otherwise it doesn't). So you can choose to use "Context property" mode for the driver variable, this way it will keep the reference to "Active Scene" instead of any specific scene, and this way you can append these objects without including the "Scene" scene. Thanks, i tested. Even if i use Active scene, blender do the same: creates new scene after append. <video src="/attachments/81f1a42a-4c5b-4e8a-9e0d-054cb65619db" title="2023-10-09_06-43-58.mp4" controls></video> So is there a way to append to current scene?
Member

For some reason it doesn't seem to append correctly now but it was working, let me check further.

For some reason it doesn't seem to append correctly now but it was working, let me check further.
YimingWu reopened this issue 2023-10-09 06:34:45 +02:00
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2023-10-09 06:34:46 +02:00
Member

OK here I'm able to append without creating a new scene:

  • First link the two objects, now you will have a linked scene "Scene".
  • Remove linked "Scene".
  • Append the same two objects again, now it will be appended into the current scene instead of creating a new scene.

This seems pretty weird.

OK here I'm able to append without creating a new scene: - First link the two objects, now you will have a linked scene "Scene". - Remove linked "Scene". - Append the same two objects again, now it will be appended into the current scene instead of creating a new scene. This seems pretty weird.
YimingWu added
Module
Pipeline, Assets & IO
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-10-09 06:37:57 +02:00

This seems pretty weird.
Yup. So you see, it works very strange, not as common intuition say and not as it may be handy.

So I agree it can drag additional scene, when driver use exact scene, but in case of context/active scene it should be inserted right here, into active one.

You can see it is simple real case, where i want to append empty for fast turntable.

> This seems pretty weird. Yup. So you see, it works very strange, not as common intuition say and not as it may be handy. So I agree it can drag additional scene, when driver use exact scene, but in case of context/active scene it should be inserted right here, into active one. You can see it is simple real case, where i want to append empty for fast turntable.
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
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#113435
No description provided.