Hot Fix
fix texture atlas having registry problems, and the normal maps not looking good after being atlased.
This commit is contained in:
+10
-2
@@ -25,12 +25,20 @@ def register():
|
||||
|
||||
# Order the classes before registration
|
||||
core.register.order_classes()
|
||||
# Register the properties
|
||||
core.register.register_properties()
|
||||
# Register the UI classes
|
||||
for cls in __bl_ordered_classes:
|
||||
print("registering" + str(cls))
|
||||
bpy.utils.register_class(cls)
|
||||
|
||||
|
||||
|
||||
# Register the properties
|
||||
for cls in core.register.__bl_ordered_classes:
|
||||
print("registering " + str(cls))
|
||||
bpy.utils.register_class(cls)
|
||||
|
||||
#finally register properties that may use some classes.
|
||||
core.register.register_properties()
|
||||
|
||||
def unregister():
|
||||
print("Unregistering Avatar Toolkit")
|
||||
|
||||
Reference in New Issue
Block a user