jasperges / pose-thumbnails

Blender add-on that adds thumbnails to a pose library.
GNU General Public License v2.0
67 stars 11 forks source link

Creation not allowed when rig/mesh is linked #34

Closed sybrenstuvel closed 6 years ago

sybrenstuvel commented 6 years ago

See https://github.com/jasperges/pose_thumbnails/blob/e80726b23d7ee9d5245ac7914c3c0d5fadf90833/pose_thumbnails.py#L362 This code is too eager to hide the creation options. In our case we have a local action datablock for the pose library, and a linked-in character. Creation of pose thumbnails should be allowed in such a case.

if obj.pose_library.library: would probably be enough.

On a side-note, I think it's bad design to simply hide the creation controls without telling the user why. It took me quite some digging in the code to figure out what was going on.