Importing node with context variable driver imports entire scene. #110207

Closed
opened 2023-07-17 14:48:27 +02:00 by Paul · 2 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: AMD Radeon (TM) R9 390 Series ATI Technologies Inc. 4.5.14800 Core Profile Context 23.4.1 31.0.14043.7000

Blender Version
Broken: version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash: c7fc78b81ecb
Worked: (newest version of Blender that worked as expected)

Short description of error
When I make python driver with context variable an GN asset and call it in another file it imports scene from the file where I saved it.

Exact steps for others to reproduce the error

  • In geometry nodes take value node and group it, enter the group node, copy end_frame value as driver, and paste it as driver to value node.
  • Edit driver you just created, changing single property to context property, make this group an asset and save it somewhere in your library folders.
  • Now call this group in new file: it loads entire scene from the file you saved end frame group.
**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: AMD Radeon (TM) R9 390 Series ATI Technologies Inc. 4.5.14800 Core Profile Context 23.4.1 31.0.14043.7000 **Blender Version** Broken: version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash: `c7fc78b81ecb` Worked: (newest version of Blender that worked as expected) **Short description of error** When I make python driver with context variable an GN asset and call it in another file it imports scene from the file where I saved it. **Exact steps for others to reproduce the error** - In geometry nodes take value node and group it, enter the group node, copy end_frame value as driver, and paste it as driver to value node. - Edit driver you just created, changing single property to context property, make this group an asset and save it somewhere in your library folders. - Now call this group in new file: it loads entire scene from the file you saved end frame group.
Paul added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2023-07-17 14:48:27 +02:00
Member

I believe this behaviour is expected. Since the start/end frame property is part of the Scene data structure so naturally the node group depends on the scene it's created in, hence loading the entire scene.

I believe this behaviour is expected. Since the start/end frame property is part of the `Scene` data structure so naturally the node group depends on the scene it's created in, hence loading the entire scene.
Member

Yes, as @ChengduLittleA explained, scene will also be loaded if it's property has been referenced by target object, see: #108047
Closing.

Yes, as @ChengduLittleA explained, scene will also be loaded if it's property has been referenced by target object, see: #108047 Closing.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-07-18 06:01:03 +02: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#110207
No description provided.