Linked duplicated mesh does not update in edit mode after making its data single user #60752

Closed
opened 2019-01-22 16:27:27 +01:00 by Vitaliy · 17 comments

System Information
Operating system: Windows 10
Graphics card: NVidia Titan

Blender Version
Broken: 2.80, 7f40d553f9, blender2.7, 2019-01-22

Short description of error
Mesh only updates by going out of edit mode and entering edit mode again if linked duplicated mesh is made single user.

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

  1. Select start-up cube and linked duplicate it and move it so that they do not overlap.
  2. Hit F3 and search for Make Single User, apply it to selected objects and check Object data.
  3. Select both of the cubes and linked duplicate them and move them so that they do not overlap.
  4. Select the last cube and make him single user too with Object data checked.
  5. Hit Tab to go to the Edit mode and try to select any vertices. Hit Tab again to go out of the Edit mode and then hit Tab again to enter the Edit mode one more time. Now the vertices will be selected.

One workaround is to linked duplicate troubled mesh and delete the copy, after that the last mesh will update as normal.

**System Information** Operating system: Windows 10 Graphics card: NVidia Titan **Blender Version** Broken: 2.80, 7f40d553f903, blender2.7, 2019-01-22 **Short description of error** Mesh only updates by going out of edit mode and entering edit mode again if linked duplicated mesh is made single user. **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible). 1. Select start-up cube and linked duplicate it and move it so that they do not overlap. 2. Hit F3 and search for Make Single User, apply it to selected objects and check Object data. 3. Select both of the cubes and linked duplicate them and move them so that they do not overlap. 4. Select the last cube and make him single user too with Object data checked. 5. Hit Tab to go to the Edit mode and try to select any vertices. Hit Tab again to go out of the Edit mode and then hit Tab again to enter the Edit mode one more time. Now the vertices will be selected. One workaround is to linked duplicate troubled mesh and delete the copy, after that the last mesh will update as normal.
Author

Added subscriber: @Northsteel

Added subscriber: @Northsteel
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

I can reproduce the issue.

I can reproduce the issue.

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'

I have re-triaged this report and can not reproduce it.
Can you please check if this is still an issue in latest build?
https://builder.blender.org/download/

I have re-triaged this report and can not reproduce it. Can you please check if this is still an issue in latest build? https://builder.blender.org/download/
Author

In #60752#856716, @iss wrote:
I have re-triaged this report and can not reproduce it.
Can you please check if this is still an issue in latest build?
https://builder.blender.org/download/

Now it just crashes. I will try to better explain the steps needed to reproduce the issue.

  1. After you open blender, select default cube hit Alt+D and move it aside (just so we can see it and select it easily).
  2. Now select new (linked duplicated) cube, hit F3, search for Make Single User, hit Enter and choose Selected Objects. In the options of Make Single User command check Object Data.
  3. Now select both cubes and Alt+D them and move them aside.
  4. Now select the last linked duplicated cube and make him Single User as well (with the same setting as previously)
  5. Hit Tab to go to Edit Mode and try to select any vertices. You will notice that vertex selection does not updates.
  6. Hit Tab again to go out of Edit Mode and Blender will crash. (If it will not crash, try hitting Tab multiple times)

Blender build January 29, 01:17:51 - f9e1e088a4 Windows 64 bit

> In #60752#856716, @iss wrote: > I have re-triaged this report and can not reproduce it. > Can you please check if this is still an issue in latest build? > https://builder.blender.org/download/ Now it just crashes. I will try to better explain the steps needed to reproduce the issue. 1. After you open blender, select default cube hit Alt+D and move it aside (just so we can see it and select it easily). 2. Now select new (linked duplicated) cube, hit F3, search for Make Single User, hit Enter and choose Selected Objects. In the options of Make Single User command check Object Data. 3. Now select both cubes and Alt+D them and move them aside. 4. Now select the last linked duplicated cube and make him Single User as well (with the same setting as previously) 5. Hit Tab to go to Edit Mode and try to select any vertices. You will notice that vertex selection does not updates. 6. Hit Tab again to go out of Edit Mode and Blender will crash. (If it will not crash, try hitting Tab multiple times) Blender build January 29, 01:17:51 - f9e1e088a4c7 Windows 64 bit

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'

After changing edit mode / object mode about 15 times I got a crash

Backtrace is not always the same, so this will probably be race condition.

Could not read memory of loopstart

>	blender.exe!mesh_calc_ngon_normal(const MPoly * mpoly, const MLoop * loopstart, const MVert * mvert, float * normal) Line 2165	C

 	blender.exe!BKE_mesh_calc_poly_normal(const MPoly * mpoly, const MLoop * loopstart, const MVert * mvarray, float * r_no) Line 2190	C
 	blender.exe!mesh_calc_normals_poly_cb(void * userdata, const int pidx, const TaskParallelTLS * UNUSED_tls) Line 229	C
 	blender.exe!parallel_range_single_thread(TaskParallelRangePool * range_pool) Line 1259	C
 	blender.exe!BLI_task_parallel_range(const int start, const int stop, void * userdata, void(*)(void *, const int, const TaskParallelTLS *) func, TaskParallelSettings * settings) Line 1331	C
 	blender.exe!BKE_mesh_calc_normals_poly(MVert * mverts, float[3] * r_vertnors, int numVerts, const MLoop * mloop, const MPoly * mpolys, int numLoops, int numPolys, float[3] * r_polynors, const bool only_face_normals) Line 340	C
 	blender.exe!mesh_render_data_create(Mesh * me, const bool is_editmode, const float[4] * obmat, const bool do_final, const bool do_uvedit, const eMRIterType iter_type, const eMRDataType data_flag, const DRW_MeshCDMask * UNUSED_cd_used, const ToolSettings * ts) Line 226	C
 	blender.exe!mesh_buffer_cache_create_requested(MeshBatchCache * cache, MeshBufferCache mbc, Mesh * me, const bool is_editmode, const float[4] * obmat, const bool do_final, const bool do_uvedit, const bool use_subsurf_fdots, const DRW_MeshCDMask * cd_layer_used, const ToolSettings * ts, const bool use_hide) Line 4452	C
 	blender.exe!DRW_mesh_batch_cache_create_requested(Object * ob, Mesh * me, const Scene * scene, const bool is_paint_mode, const bool use_hide) Line 1377	C
 	blender.exe!drw_batch_cache_generate_requested(Object * ob) Line 3413	C
 	blender.exe!drw_engines_cache_populate(Object * ob) Line 1157	C
 	blender.exe!DRW_draw_render_loop_ex(Depsgraph * depsgraph, RenderEngineType * engine_type, ARegion * ar, View3D * v3d, GPUViewport * viewport, const bContext * evil_C) Line 1569	C
 	blender.exe!DRW_draw_view(const bContext * C) Line 1486	C
 	blender.exe!view3d_draw_view(const bContext * C, ARegion * ar) Line 1533	C
 	blender.exe!view3d_main_region_draw(const bContext * C, ARegion * ar) Line 1558	C
 	blender.exe!ED_region_do_draw(bContext * C, ARegion * ar) Line 539	C
 	blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 635	C
 	blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 773	C
 	blender.exe!wm_draw_update(bContext * C) Line 953	C
 	blender.exe!WM_main(bContext * C) Line 425	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 520	C
After changing edit mode / object mode about 15 times I got a crash Backtrace is not always the same, so this will probably be race condition. Could not read memory of `loopstart` ``` > blender.exe!mesh_calc_ngon_normal(const MPoly * mpoly, const MLoop * loopstart, const MVert * mvert, float * normal) Line 2165 C blender.exe!BKE_mesh_calc_poly_normal(const MPoly * mpoly, const MLoop * loopstart, const MVert * mvarray, float * r_no) Line 2190 C blender.exe!mesh_calc_normals_poly_cb(void * userdata, const int pidx, const TaskParallelTLS * UNUSED_tls) Line 229 C blender.exe!parallel_range_single_thread(TaskParallelRangePool * range_pool) Line 1259 C blender.exe!BLI_task_parallel_range(const int start, const int stop, void * userdata, void(*)(void *, const int, const TaskParallelTLS *) func, TaskParallelSettings * settings) Line 1331 C blender.exe!BKE_mesh_calc_normals_poly(MVert * mverts, float[3] * r_vertnors, int numVerts, const MLoop * mloop, const MPoly * mpolys, int numLoops, int numPolys, float[3] * r_polynors, const bool only_face_normals) Line 340 C blender.exe!mesh_render_data_create(Mesh * me, const bool is_editmode, const float[4] * obmat, const bool do_final, const bool do_uvedit, const eMRIterType iter_type, const eMRDataType data_flag, const DRW_MeshCDMask * UNUSED_cd_used, const ToolSettings * ts) Line 226 C blender.exe!mesh_buffer_cache_create_requested(MeshBatchCache * cache, MeshBufferCache mbc, Mesh * me, const bool is_editmode, const float[4] * obmat, const bool do_final, const bool do_uvedit, const bool use_subsurf_fdots, const DRW_MeshCDMask * cd_layer_used, const ToolSettings * ts, const bool use_hide) Line 4452 C blender.exe!DRW_mesh_batch_cache_create_requested(Object * ob, Mesh * me, const Scene * scene, const bool is_paint_mode, const bool use_hide) Line 1377 C blender.exe!drw_batch_cache_generate_requested(Object * ob) Line 3413 C blender.exe!drw_engines_cache_populate(Object * ob) Line 1157 C blender.exe!DRW_draw_render_loop_ex(Depsgraph * depsgraph, RenderEngineType * engine_type, ARegion * ar, View3D * v3d, GPUViewport * viewport, const bContext * evil_C) Line 1569 C blender.exe!DRW_draw_view(const bContext * C) Line 1486 C blender.exe!view3d_draw_view(const bContext * C, ARegion * ar) Line 1533 C blender.exe!view3d_main_region_draw(const bContext * C, ARegion * ar) Line 1558 C blender.exe!ED_region_do_draw(bContext * C, ARegion * ar) Line 539 C blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 635 C blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 773 C blender.exe!wm_draw_update(bContext * C) Line 953 C blender.exe!WM_main(bContext * C) Line 425 C blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 520 C ```
Author

For me it mostly crashes after just one edit mode/ object mode cycle. Are you sure that you applied Make Single User (Object Data checked) twice? Once for the first, second time for the 4th.
Does vertex selection updates for you after step 5? Can you select and unselect vertices and viewport updates fine?

For me it mostly crashes after just one edit mode/ object mode cycle. Are you sure that you applied Make Single User (Object Data checked) twice? Once for the first, second time for the 4th. Does vertex selection updates for you after step 5? Can you select and unselect vertices and viewport updates fine?

In #60752#862105, @Northsteel wrote:
For me it mostly crashes after just one edit mode/ object mode cycle.

Done this twice, first time I had to switch more times, second time I think it crashed after 1 or 2 switches

Are you sure that you applied Make Single User (Object Data checked) twice? Once for the first, second time for the 4th.
It stayed selected during second duplication.

Does vertex selection updates for you after step 5?

I couldn't select any vertices.

Can you select and unselect vertices and viewport updates fine?

Haven't tried

> In #60752#862105, @Northsteel wrote: > For me it mostly crashes after just one edit mode/ object mode cycle. Done this twice, first time I had to switch more times, second time I think it crashed after 1 or 2 switches Are you sure that you applied Make Single User (Object Data checked) twice? Once for the first, second time for the 4th. It stayed selected during second duplication. > Does vertex selection updates for you after step 5? I couldn't select any vertices. >Can you select and unselect vertices and viewport updates fine? Haven't tried

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'

Cannot reproduce any bug, crash or anything here, is this still an issue?

Cannot reproduce any bug, crash or anything here, is this still an issue?
Author

In #60752#1035434, @mont29 wrote:
Cannot reproduce any bug, crash or anything here, is this still an issue?

Can't reproduce this in 2.83.1 and 2.90.1.

> In #60752#1035434, @mont29 wrote: > Cannot reproduce any bug, crash or anything here, is this still an issue? Can't reproduce this in 2.83.1 and 2.90.1.

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'
Bastien Montagne self-assigned this 2020-10-19 09:58:58 +02:00

Thanks, then I think we can consider this as resolved for now.

Thanks, then I think we can consider this as resolved for now.
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
4 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#60752
No description provided.