Page MenuHome

PoseBone.bone.hide property broken
Closed, InvalidPublic

Description

Lenovo X1 Extreme Gen1
I7 8750H
Operating system: Win 10 (1909)
Graphics card: GTX1050Ti


Broken: example: 2.80+
Worked: /

Setting the property "hide" of PoseBone.bone via python is broken.

If I set it manually from within the blender GUI everything works as expected, and I can even create keyframes.

Steps to reproduce:

set the hide property of a PoseBone via python:

bone.bone.hide = True

The bone is now hidden in Viewport as expected, but is not selectable anymore in the browser under the pose bones. Its "Bone" tab is also displayed empty

Also no keyframes can be created via python with function:

bone.bone.hide = True
bone.bone.keyframe_insert(data_path='hide', frame=frame)

No error/warning occurs on keyframe creation, but the corresponding Action does not contain the specific keyframe.

Event Timeline

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Needs Information from User.EditedMon, Jan 6, 7:59 PM

The steps to reproduce the problem are not clear.

Updated the description to make it hopefully more clear.

Are there any new informations on this? Or is sth still unclear?

Germano Cavalcante (mano-wii) changed the task status from Needs Information from User to Needs Triage.Wed, Jan 15, 4:07 AM

Thanks for the report, but selecting hidden objects is not considered a bug. This is by design.
Also I can't reproduce the keyframe_insert problem. It works normally with hidden or not hidden bones. The keys on the Dope Sheet appear and execute the hide and unhide commands.

Please follow the submission template and guidelines, also read these tips about bug reports, to make a complete, valid bug report, with required info, precise description of the issue (only ONE issue per report!), precise steps to reproduce it, small and simple .blend and/or other files to do so if needed, etc.

I will close this report as invalid.
It can be reopened if it follows the guidelines.