fix texture atlas having registry problems, and the normal maps not looking good after being atlased.
This commit is contained in:
989onan
2024-07-24 20:35:49 -04:00
parent a97c6a00a0
commit 54f1800ead
5 changed files with 470 additions and 8 deletions
+10 -2
View File
@@ -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")