Addons: python error when adding some armature in "disabled in viewport" collections #61800
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#61800
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Mint19
Graphics card: Nvidia 860M
Blender Version
Broken: 2.80 build of feb. 21rst
Short description of error
Addons: python exerpt when adding some armature in "disabled in viewport" collections
Exact steps for others to reproduce the error
Seems this happen for every addon that will add some armature is active collection, if the collection is disabled in viewport.
Currently, found it in :
But there is maybe more
Added subscriber: @JulienDuroure
blender/blender#63060 was marked as duplicate of this issue
Added subscribers: @ideasman42, @ZedDB
I can confirm that I get the following error with Rigify:
@ideasman42 feel free to reassign if this is not for you.
Added subscriber: @Casey-3
Added subscriber: @lichtwerk
if stuff is added to a hidden collection (e.g. by
bpy.ops.object.armature_add
) it wont be thecontext.active_object
then, needs a better check to actually get the result ofbpy.ops.object.armature_add
...Reconfirming, still an issue...
Addons: python exerpt when adding some armature in "disabled in viewport" collectionsto Addons: python error when adding some armature in "disabled in viewport" collectionsBoth rigify & camera rigs now work with a disabled collection,likely resolved by blender/blender@c10ad8e9ea, closing.