Import bpy makes mesh duplicate when changing location #58217

Closed
opened 2018-11-29 22:54:15 +01:00 by Zachary · 17 comments

System Information
Operating system:
Windows 10 x64

Blender Version
Broken:
Date: 2018-11-29
Hash: 43e7c5dd43
Branch: blender 2.8 (Beta)

Works:
Date: 2017-9-11
Hash: 5bc8ac9
Branch: blender 2.79 (Official Release)

Short description of error
Running import bpy in text editor will make any mesh duplicate when location or rotation is changed.

cube_duplicated.png

Exact steps for others to reproduce the error
1: Type and run import bpy
2: Add any primitive mesh
3: Change the location or rotation of mesh and watch it make duplicates.

**System Information** Operating system: Windows 10 x64 **Blender Version** Broken: Date: 2018-11-29 Hash: 43e7c5dd434 Branch: blender 2.8 (Beta) Works: Date: 2017-9-11 Hash: 5bc8ac9 Branch: blender 2.79 (Official Release) **Short description of error** Running `import bpy` in text editor will make any mesh duplicate when location or rotation is changed. ![cube_duplicated.png](https://archive.blender.org/developer/F5760196/cube_duplicated.png) **Exact steps for others to reproduce the error** 1: Type and run `import bpy` 2: Add any primitive mesh 3: Change the location or rotation of mesh and watch it make duplicates.
Author

Added subscriber: @AFWS

Added subscriber: @AFWS

#60027 was marked as duplicate of this issue

#60027 was marked as duplicate of this issue
Zachary changed title from Moving cube makes duplicates to Import bpy makes mesh duplicate when changing location 2018-11-29 23:06:37 +01:00

Added subscriber: @ThinkingPolygons

Added subscriber: @ThinkingPolygons

Confirmed.

Confirmed.

Added subscriber: @StephenSwaney

Added subscriber: @StephenSwaney

Seems OK on Linux 2.80 beta daily hash 26d5a3625e
Please attach a .blend showing the problem and mention your graphics card and driver

Seems OK on Linux 2.80 beta daily hash 26d5a3625ed Please attach a .blend showing the problem and mention your graphics card and driver
Author

@StephenSwaney

Not sure a .blend will do much good. It's only like 3 or 4 steps and the only thing a .blend would do is have import bpy in text editor.

Here's a video.
https:*www.youtube.com/watch?v=SKWttHNXFZ4&feature=youtu.be

@StephenSwaney Not sure a .blend will do much good. It's only like 3 or 4 steps and the only thing a .blend would do is have `import bpy` in text editor. Here's a video. [https:*www.youtube.com/watch?v=SKWttHNXFZ4&feature=youtu.be ](https:*www.youtube.com/watch?v=SKWttHNXFZ4&feature=youtu.be)

a) a .blend is always nice in case you have some weird settings
b) from your original screenshot, the 'duplicates' look like drawing artifacts
c) please mention your video card and driver

a) a .blend is always nice in case you have some weird settings b) from your original screenshot, the 'duplicates' look like drawing artifacts c) please mention your video card and driver
Author

In #58217#561356, @StephenSwaney wrote:
b) from your original screenshot, the 'duplicates' look like drawing artifacts
c) please mention your video card and driver

This isn't drawing artifacts. Look at the screenshot again, the outliner shows 10 duplicates and mesh data shows 161. It got duplicated 161 times. You can also watch the mesh data number changing in the video.

GTX 950M, 398.82

> In #58217#561356, @StephenSwaney wrote: > b) from your original screenshot, the 'duplicates' look like drawing artifacts >c) please mention your video card and driver This isn't drawing artifacts. Look at the screenshot again, the outliner shows 10 duplicates and mesh data shows 161. It got duplicated 161 times. You can also watch the mesh data number changing in the video. GTX 950M, 398.82

Added subscribers: @ideasman42, @brecht

Added subscribers: @ideasman42, @brecht
Campbell Barton was assigned by Brecht Van Lommel 2018-11-30 12:51:22 +01:00

This seems like an error in the undo system, first guess would be it's related to the new unified stack so assigning to @campbellbarton.

This seems like an error in the undo system, first guess would be it's related to the new unified stack so assigning to @campbellbarton.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Hm, interesting :)
I can confirm this. For me this can already be achieved by just typing in the text editor (could be "foo", "bar" whatever doesnt need to be valid python). Dont even have to Run Script.
Havent looked at the code, seems like undo/redo queue is somewhat intermangled/garbled. (you can also observe the text getting shorter - as if an undo in the text editor was performed...)

Since this is undo/redo related, I would like to ask @ideasman42 to have a look...

Hm, interesting :) I can confirm this. For me this can already be achieved by just typing in the text editor (could be "foo", "bar" whatever doesnt need to be valid python). Dont even have to `Run Script`. Havent looked at the code, seems like undo/redo queue is somewhat intermangled/garbled. (you can also observe the text getting shorter - as if an undo in the text editor was performed...) Since this is undo/redo related, I would like to ask @ideasman42 to have a look...
Member

oops, guess I had this browser tab open and did not notice this was triaged already, sorry for the noise...

oops, guess I had this browser tab open and did not notice this was triaged already, sorry for the noise...

Added subscriber: @bonjorno7-pending-change

Added subscriber: @bonjorno7-pending-change
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

This seems to be fixed in master, cannot reproduce anymore...
(first thought blender/blender-addons#66172 was a duplicate I could merge, but fortunately this very report here seems to be resolved...)

(@AFWS: feel free to comment again/reopen if issues persist...)

This seems to be fixed in master, cannot reproduce anymore... (first thought blender/blender-addons#66172 was a duplicate I could merge, but fortunately this very report here seems to be resolved...) (@AFWS: feel free to comment again/reopen if issues persist...)
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
7 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#58217
No description provided.