Bone selection sets not saving #94775
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#94775
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.29
Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash:
blender/blender@f1cca30557
Worked: (newest version of Blender that worked as expected)
Addon Information
Name: Bone Selection Sets (2, 1, 1)
Author: Inês Almeida, Sybren A. Stüvel, Antony Riakiotakis, Dan Eicher
Short description of error
Blender is not saving any selection sets beyond the first set that I create. When I reopen the file, all selection sets are a duplicate of the first one created.
Exact steps for others to reproduce the error
Added subscriber: @MAIGULL
#97109 was marked as duplicate of this issue
#96079 was marked as duplicate of this issue
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscribers: @BeornLeonard, @mano-wii, @BClark
Added subscribers: @mont29, @wbmoss_dev
@mont29 This diff fixes the issue but I don't know the library override code base well enough to know if everything is alright. Feel free to commit if its good enough.
The change at line 1932 for
equals = equals && diff == 0;
doesn't actually fix anything related to the task but seemed like a typo based on other uses of the *_diff() function return values. I have no idea what it affects. The rest of the patch does fix the main task issues. I'm uncertain because I don't know why there are originally +1 index offsets on non-reference indices and why there is a double lookup for the same source item.Added subscriber: @dr.sybren
rna_property_override_diff_propptr()
is an overly complex function without documenting its return value, so it's understandable to get confused. From what I can see, it should have been declared as returningbool
, as it seems to just return "is different".Instead of
equals = equals && diff == 0;
I would even just writeequals &= (diff == 0);
for clarity.As for the rest, I can't help you here :/
This issue was referenced by blender/blender@5b8a3ccd37
@wbmoss_dev thanks, your fix is correct (for some reason, this default apply code was not updated when ways insertion in collections was reworked in rBrB33c5e7bcd5e5 ...).
Changed status from 'Confirmed' to: 'Resolved'
Added subscriber: @Googoo