bpy.context.scene.update() causes erratic object selections #62666

Closed
opened 2019-03-16 23:34:04 +01:00 by MACHIN3 · 8 comments

System Information
Operating system: Linux-4.13.10-041310-generic-x86_64-with-debian-stretch-sid 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.67

Blender Version
Broken: version: 2.80 (sub 49), branch: blender2.7, commit date: 2019-03-15 23:51, hash: 3600bb79d0

Short description of error
In the attached blend, calling a context.scene.update() from a script or the text editor, will cause erratic object selections

Exact steps for others to reproduce the error

  • open attached blend
  • select the objects one after another to comfirm everything is in order
  • run scene update from text editor
  • attempt to select the objects again
  • the wrong objects should get selected

video demo

FWIW. the file went through dozens of blender versions over the past weeks. It may just be corrupted from this. I can't seem to reproduce this on new files.

eratic_selections.blend

**System Information** Operating system: Linux-4.13.10-041310-generic-x86_64-with-debian-stretch-sid 64 Bits Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.67 **Blender Version** Broken: version: 2.80 (sub 49), branch: blender2.7, commit date: 2019-03-15 23:51, hash: `3600bb79d0` **Short description of error** In the attached blend, calling a context.scene.update() from a script or the text editor, will cause erratic object selections **Exact steps for others to reproduce the error** * open attached blend * select the objects one after another to comfirm everything is in order * run scene update from text editor * attempt to select the objects again * the wrong objects should get selected [video demo ](https://www.youtube.com/watch?v=iDs7Z-n8mWM) FWIW. the file went through dozens of blender versions over the past weeks. It may just be corrupted from this. I can't seem to reproduce this on new files. [eratic_selections.blend](https://archive.blender.org/developer/F6836248/eratic_selections.blend)
Author

Added subscriber: @MACHIN3

Added subscriber: @MACHIN3
MACHIN3 changed title from bpy.context.scene.update() causes eratic object selections to bpy.context.scene.update() causes erratic object selections 2019-03-16 23:34:16 +01:00

Added subscriber: @Teds

Added subscriber: @Teds

Confirmed on Windows Version 2.80 Beta Date: 2019-03-16 18:21 Hash: 2d3fbadfe3

Confirmed on Windows Version 2.80 Beta Date: 2019-03-16 18:21 Hash: 2d3fbadfe36d

Added subscriber: @RobertWesseling

Added subscriber: @RobertWesseling

Confirmed on Windows 10, 64-bit 1803, version 2.80 Beta, Date: 2019 21:53 Hash: cc5bdf0293

Confirmed on Windows 10, 64-bit 1803, version 2.80 Beta, Date: 2019 21:53 Hash: cc5bdf029324
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

eratic_selections_simplified.blend

Interestingly, the problem does not happen when I move object A into Scene Collection.

[eratic_selections_simplified.blend](https://archive.blender.org/developer/F6843238/eratic_selections_simplified.blend) Interestingly, the problem does not happen when I move object `A` into `Scene Collection`.

Closed as duplicate of #55617

Closed as duplicate of #55617
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
5 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#62666
No description provided.