Toggle to Edit Mode call error when the Blender use linked a object data from another file #84109

Open
opened 2020-12-24 14:04:00 +01:00 by Vladimir · 7 comments

System Information
Operating system: Linux 5.10.2
Graphics card: Intel Haswel (4-th Gen ) HD Graphics 4600

Blender Version
Broken: 2.92

Short description of error

Toggle to Edit Mode call error when the Blender use linked a object data from another file

Exact steps for others to reproduce the error

  1. Create any object in a scene and save this file
  2. Create a new blend file and link the object from previous saved a file with FileLink.. and then select this object.
  3. Then convert linked object to local object with ObjectRelationsMake Local...Selected Objects
  4. Select the object and press Tab that go to Edit Mode.
  5. Error - Unable to execute 'Toggle Editmode', error changing modes

or download both files and then open linked.blend:

source.blend
linked.blend

Screenshot_20201224_154148.png

**System Information** Operating system: Linux 5.10.2 Graphics card: Intel Haswel (4-th Gen ) HD Graphics 4600 **Blender Version** Broken: 2.92 **Short description of error** Toggle to Edit Mode call error when the Blender use linked a object data from another file **Exact steps for others to reproduce the error** 1) Create any object in a scene and save this file 2) Create a new blend file and link the object from previous saved a file with `File` → `Link..` and then select this object. 3) Then convert linked object to local object with `Object` → `Relations` → `Make Local...` → `Selected Objects` 4) Select the object and press Tab that go to Edit Mode. 5) Error - Unable to execute 'Toggle Editmode', error changing modes or download both files and then open linked.blend: [source.blend](https://archive.blender.org/developer/F9528069/source.blend) [linked.blend](https://archive.blender.org/developer/F9528070/linked.blend) ![Screenshot_20201224_154148.png](https://archive.blender.org/developer/F9528071/Screenshot_20201224_154148.png)
Author

Added subscriber: @Wovchick

Added subscriber: @Wovchick

Added subscriber: @rjg

Added subscriber: @rjg

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

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

If you want to edit the object you have to make its data (the mesh) local too. Use Object > Relations > Make Local ... > Selected Objects and Data. You can't edit the mesh because it is still only linked.

That being said, the failure doesn't seem to be handled properly. It should either show an error message which explains that you can't edit linked data (rather than failing to switch the mode) or plain refuse to switch to edit mode as is the case when both object and data are linked.

If you want to edit the object you have to make its data (the mesh) local too. Use *Object > Relations > Make Local ... > Selected Objects and Data*. You can't edit the mesh because it is still only linked. That being said, the failure doesn't seem to be handled properly. It should either show an error message which explains that you can't edit linked data (rather than failing to switch the mode) or plain refuse to switch to edit mode as is the case when both object and data are linked.
Author

In #84109#1082781, @rjg wrote:
It should either show an error message which explains that you can't edit linked data (rather than failing to switch the mode) or plain refuse to switch to edit mode as is the case when both object and data are linked.

Yes, I seem the Blender shoulds to output a more information message.

> In #84109#1082781, @rjg wrote: > It should either show an error message which explains that you can't edit linked data (rather than failing to switch the mode) or plain refuse to switch to edit mode as is the case when both object and data are linked. Yes, I seem the Blender shoulds to output a more information message.

Added subscriber: @mont29

Added subscriber: @mont29

Short answer: Better error message is not really doable with current code.

This would require some changes about how we get error reports from sub-operators (operators ran from within another one) I think... Not really a priority anyway tbh.

Short answer: Better error message is not really doable with current code. This would require some changes about how we get error reports from sub-operators (operators ran from within another one) I think... Not really a priority anyway tbh.
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:23:48 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#84109
No description provided.