After I assign a different value to bone, this boolean flag should be True, otherwise it should stay False. This should help to find out whether a skeleton should be saved or whether it has not been changed.
But they should be real changes.
If the skeletons value is already ["foo", "bar"] (multiple StringBone), and I call setBoneValue(["foo", "bar"]), that should not be a change.
Likewise, in a multilang bone with {"de": "foo", "en": "bar"} and the languages de, fr, en, setBoneValue({"de": "foo", "en": "bar", "nl": "baz"}) should not lead to any change, as nl is new but not relevant for this bone.
After I assign a different value to bone, this boolean flag should be
True
, otherwise it should stayFalse
. This should help to find out whether a skeleton should be saved or whether it has not been changed.But they should be real changes.
If the skeletons value is already
["foo", "bar"]
(multipleStringBone
), and I callsetBoneValue(["foo", "bar"])
, that should not be a change. Likewise, in a multilang bone with{"de": "foo", "en": "bar"}
and thelanguages
de, fr, en,setBoneValue({"de": "foo", "en": "bar", "nl": "baz"})
should not lead to any change, as nl is new but not relevant for this bone.