Scatter Objects: Python traceback after selecting object to be scattered #93355

Open
opened 2021-11-24 13:58:06 +01:00 by Pratik Borhade · 2 comments
Member

System Information
Operating system : Windows-10-10.0.18362-SP0 64 Bits
Graphics card : AMD Radeon(TM) 535 ATI Technologies .

Blender Version
Broken: master
Worked: unsure

Short description of error
traceback after selecting object to be scattered

Exact steps for others to reproduce the error

  • Open .blend file
  • Enable Scatter Object add-on
  • Select cube and Shift select sphere
  • {nav object > Scatter objects}
  • Undo
  • Select Cube

File "D:\BF_daily_build\3.0.0\blender-3.1.0-alpha+master.d1a4e043bdb0-windows.amd64-release\3.1\scripts\addons\object_scatter\operator.py", line 84, in modal
event_used = self.handle_non_exit_event(event)
File "D:\BF_daily_build\3.0.0\blender-3.1.0-alpha+master.d1a4e043bdb0-windows.amd64-release\3.1\scripts\addons\object_scatter\operator.py", line 94, in handle_non_exit_event
self.active_target.start_build(self.target_object)
File "D:\BF_daily_build\3.0.0\blender-3.1.0-alpha+master.d1a4e043bdb0-windows.amd64-release\3.1\scripts\addons\object_scatter\operator.py", line 271, in start_build
self.bvhtree = bvhtree_from_object(target_object)
File "D:\BF_daily_build\3.0.0\blender-3.1.0-alpha+master.d1a4e043bdb0-windows.amd64-release\3.1\scripts\addons\object_scatter\operator.py", line 467, in bvhtree_from_object
object_eval = object.evaluated_get(depsgraph)

ReferenceError: StructRNA of type Object has been removed

location: <unknown location>:-1

Test File:
{F11989193}

**System Information** Operating system : Windows-10-10.0.18362-SP0 64 Bits Graphics card : AMD Radeon(TM) 535 ATI Technologies . **Blender Version** Broken: master Worked: unsure **Short description of error** traceback after selecting object to be scattered **Exact steps for others to reproduce the error** - Open .blend file - Enable `Scatter Object` add-on - Select cube and Shift select sphere - {nav object > Scatter objects} - Undo - Select Cube ```Python: Traceback (most recent call last): ``` File "D:\BF_daily_build\3.0.0\blender-3.1.0-alpha+master.d1a4e043bdb0-windows.amd64-release\3.1\scripts\addons\object_scatter\operator.py", line 84, in modal event_used = self.handle_non_exit_event(event) File "D:\BF_daily_build\3.0.0\blender-3.1.0-alpha+master.d1a4e043bdb0-windows.amd64-release\3.1\scripts\addons\object_scatter\operator.py", line 94, in handle_non_exit_event self.active_target.start_build(self.target_object) File "D:\BF_daily_build\3.0.0\blender-3.1.0-alpha+master.d1a4e043bdb0-windows.amd64-release\3.1\scripts\addons\object_scatter\operator.py", line 271, in start_build self.bvhtree = bvhtree_from_object(target_object) File "D:\BF_daily_build\3.0.0\blender-3.1.0-alpha+master.d1a4e043bdb0-windows.amd64-release\3.1\scripts\addons\object_scatter\operator.py", line 467, in bvhtree_from_object object_eval = object.evaluated_get(depsgraph) ``` ReferenceError: StructRNA of type Object has been removed location: <unknown location>:-1 ``` Test File: {F11989193}
Author
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Author
Member

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

Changed status from 'Needs Triage' to: 'Confirmed'
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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-addons#93355
No description provided.