Asset browser: Collection position offset on toggling instance option #98923

Open
opened 2022-06-16 07:09:51 +02:00 by Pratik Borhade · 10 comments
Member

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: AMD Radeon(TM) 535 ATI Technologies Inc. 4.5.14831 Core Profile Context 21.5.2 27.20.21003.8013

Blender Version
Broken: version: 3.3.0, 3.2

Short description of error
Assets imported with link option offsets position when Instance option is toggled

Exact steps for others to reproduce the error

  • Create collection asset and save it in user library
  • Open default scene
  • Change timeline to asset browser (and in asset browser select library where asset collection is present)
  • Change import type to link
  • Drag collection to viewport
  • toggle Instance option (notice collection instance moves from its original position)

Blender 2022-06-16 10-26-03.mp4

**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: AMD Radeon(TM) 535 ATI Technologies Inc. 4.5.14831 Core Profile Context 21.5.2 27.20.21003.8013 **Blender Version** Broken: version: 3.3.0, 3.2 **Short description of error** Assets imported with link option offsets position when `Instance` option is toggled **Exact steps for others to reproduce the error** - Create collection asset and save it in user library - Open default scene - Change timeline to asset browser (and in asset browser select library where asset collection is present) - Change import type to link - Drag collection to viewport - toggle `Instance` option (notice collection instance moves from its original position) [Blender 2022-06-16 10-26-03.mp4](https://archive.blender.org/developer/F13172512/Blender_2022-06-16_10-26-03.mp4)
Author
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm

Can confirm

Added subscriber: @Nathan-Unity

Added subscriber: @Nathan-Unity
Nathan self-assigned this 2022-06-22 16:08:34 +02:00

Having at look at this issue, interestingly enough the following comment is present in collection_drop_exec

"Reverse apply the instance offset, so toggling the Instance option doesn't cause the collection to jump."

Having at look at this issue, interestingly enough the following comment is present in collection_drop_exec "Reverse apply the instance offset, so toggling the Instance option doesn't cause the collection to jump."
Nathan removed their assignment 2022-06-30 12:15:12 +02:00

Unassigning this ticket due to workplace changes. Apologies.

Unassigning this ticket due to workplace changes. Apologies.
Bastien Montagne added this to the Pipeline, Assets & IO project 2023-02-09 15:40:38 +01:00
Philipp Oeser removed the
Interest
Pipeline, Assets & IO
label 2023-02-10 08:54:03 +01:00
Member

Hey, I will probably work on this issue.
I think that the user should not be able to offset a linked collection which is not instanciated.
So, two solutions here :

  • remove the possibility to link a collection without instantiating
  • remove the possibility to offset a collection when not instantiating

Imo the second option is more consistent regarding the rest of the asset system.

Hey, I will probably work on this issue. I think that the user should not be able to offset a linked collection which is not instanciated. So, two solutions here : - remove the possibility to link a collection without instantiating - remove the possibility to offset a collection when not instantiating Imo the second option is more consistent regarding the rest of the asset system.
Member

After talking with Julian, the second option is what's expected. I'll publish a patch in the following days.

After talking with Julian, the second option is what's expected. I'll publish a patch in the following days.
Colin Marmond self-assigned this 2023-02-19 13:53:46 +01:00

Issue still persists in Blender 3.6.0

Issue still persists in Blender 3.6.0
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 Assignees
5 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#98923
No description provided.