ui redraw on UIlist actions and code cleanup

2.0.9

- fix: prefix/suffix UIlist actions trigger UI redraw to see changes live
- changed: PropertyGroups are now registered in their own file
- code: cleanup
This commit is contained in:
Pullusb
2022-10-13 00:09:12 +02:00
parent c32ea207c6
commit e0a50ea49a
8 changed files with 226 additions and 198 deletions
+4
View File
@@ -16,6 +16,10 @@ import subprocess
else :
return layer.parent
"""
def translate_range(OldValue, OldMin, OldMax, NewMax, NewMin):
return (((OldValue - OldMin) * (NewMax - NewMin)) / (OldMax - OldMin)) + NewMin
def get_matrix(ob) :
'''return a copy of the world_matrix, applied object matrix if its a bone'''
if isinstance(ob, bpy.types.PoseBone) :