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:
@@ -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) :
|
||||
|
||||
Reference in New Issue
Block a user