Import bpy makes mesh duplicate when changing location #58217

Closed
opened 4 years ago by AFWS · 17 comments
AFWS commented 4 years ago

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.
AFWS commented 4 years ago
Poster

Added subscriber: @AFWS

Added subscriber: @AFWS
Collaborator

#60027 was marked as duplicate of this issue

#60027 was marked as duplicate of this issue
AFWS changed title from Moving cube makes duplicates to Import bpy makes mesh duplicate when changing location 4 years ago

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
AFWS commented 4 years ago
Poster

@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
AFWS commented 4 years ago
Poster

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
brecht commented 4 years ago
Owner

Added subscribers: @ideasman42, @brecht

Added subscribers: @ideasman42, @brecht
ideasman42 was assigned by brecht 4 years ago
brecht commented 4 years ago
Owner

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.
Collaborator

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Collaborator

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...
Collaborator

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...
ZedDB commented 4 years ago
Collaborator

Added subscriber: @bonjorno7-pending-change

Added subscriber: @bonjorno7-pending-change
Collaborator

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
lichtwerk closed this issue 4 years ago
Collaborator

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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Datablocks and Libraries
Interest/Dependency Graph
Interest/Development Management
Interest/Eevee
Interest/Eevee & Viewport
Interest/Freestyle
Interest/Geometry Nodes
Interest/Grease Pencil
Interest/Images & Movies
Interest/Import/Export
Interest/Line Art
Interest/Masking
Interest/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Overrides
Interest/Performance
Interest/Pipeline, Assets & I/O
Interest/Translations
Interest/Undo
Interest/USD
Interest/Video Sequencer
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/Nodes & Physics
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Performance
legacy project/Physics
legacy project/Platforms, Builds, Tests & Devices
legacy project/Pose Library Basics
legacy project/Python API
legacy project/Render & Cycles
legacy project/Render Pipeline
legacy project/Retrospective
legacy project/Sculpt, Paint & Texture
legacy project/Text Editor
legacy project/Tracker Curfew
legacy project/Triaging
legacy project/User Interface
legacy project/UV Editing
legacy project/VFX & Video
legacy project/Virtual Reality
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#58217
Loading…
There is no content yet.