Linked Mesh Editing Doesn't Work As Expected When Using Data Transfer Modifier #73895
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#73895
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19
Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash:
77d23b0bd7
Worked: 2.81 (sub 16), branch: master, commit date: 2019-12-04 11:32, hash:
f1aa4d18d4
Short description of error
Object instances doesn't work as in blender 2.81
Exact steps for others to reproduce the error
In blender 2.81, after entering the edit mode, all instances become active. You can see changes in real time.
Screen below:
In Blender 2.82 it work ok till some time. I couldn't determine at what moment it breaks...
Changes appears only after You enter to object mode.
Here is blend file to test
instances_issue.blend
Added subscriber: @kamilozo
Added subscriber: @ideasman42
Changed status from 'Needs Triage' to: 'Confirmed'
Confirmed, the strange thing about this behavior, is making a linked duplicate of
Veg_Tree_Birch_A.002
does show in edit mode when any of the other objects are edited.Hi. Its any chance to fix this issue and ad it to upcoming Blender 2.82a proposed revisions? For everyone who works in game industry this is a very annoying issue.
B282a is for crucial issues only (crashes, high prio etc). This might be an annoying issue for a small group of people, but if we let every annoyance become high prio than we will never be able to release anything. Better to keep to the proposed release schedule.
It is on my desk for b283.
After minimizing the scene it is clear that this related to the data transfer modifiers that are used. After removing the data transfer modifier it seems to work. Note that disabling the modifier isn't enough.
See here for the minimum example.
#73895.blend
I will check if we can finetune this.
DRW_object_is_in_edit_mode
ask the dependency graph if the object is changed. the depsgraph response that it is changed so the drawing assumes that it is a different mesh.This is correct as the data transfer modifier adds data to the source mesh so the mesh is modified in the provided file. In the given example files both meshes are different. Only when selecting the original tree and enter edit mode result in that both meshes are in edit mode. The fact for this is that you always edit the base mesh.
In blender 2.82 we introduced the option to make edit mode modifier aware to overcome several issues.
A solution to this specific problem is to not change the source mesh when the modifier is disabled in editmode or cage mode. Currently the object is already modified during building of the depsgraph. Which is really early on and might be a limitation of the current design. I will need to check with others as this is a bit outside of my knowledge.
The data transfer node changes the source object by adding some custom data masks
(
MOD_datatransfer.c#130
->DEG_add_customdata_mask(ctx->node, dtmd->ob_source, &cddata_masks);
.This makes the object modified as it will generates and store the custom data layers in the source object. This data will then be used during the transfer.
Removing the mentioned line will let the user edit both meshes, but of course would break the data transfer.
Blender 2.82 is more strict in the linked mesh edit, as the previous implementation could crash or render undesired results.
I will set this issue to known issue for now. as my impression the solution would need a redesign of the data transfer modifier. The linked mesh edit works as designed.
Related reports:
Object instances doesn't work properlyto Linked Mesh Editing Doesn't Work As Expected When Using Data Transfer ModifierAdded subscriber: @Jeroen-Bakker
Ok , I understand. So for solution we must wait a little longer than expected or its a higher possibility to have this situation work in blender 2.83?
Added subscriber: @Gilberto.R
@kamilozo Unfortunately not for 2.83.0. It's tagged as a Known Issue, so it won't be worked on for a while as this requires a lot of work and the developers are busy with other priorities.
Can repro in 2.82 and 2.83.0.
Fix seems to have made it into 2.90 and 2.83 LTS.
Will close as resolved (feel free to comment again though if issues persist in fresh builds from https://builder.blender.org/download/daily/ -- we can always reopen in such case