Housekeeping (bug fixes)
NEW FEATURES: - added apply shapekey to basis from Cats - now that pesky thing I keep going back to cats for is in Avatar Toolkit. BUG FIXES: - now we push armature santizers into functions where they are needed - this prevents the methods from mirroring changes while working, causing them to blow up when mirror mode is on - more changes to come for armature setting santitizers - fixed error reporting - now methods when catching errors will return full error tracebacks - this will help make debugging and finding user issues easier.
This commit is contained in:
@@ -8,6 +8,7 @@ from ..core.common import SceneMatClass, MaterialListBool, ProgressTracker
|
||||
from ..core.packer.rectangle_packer import MaterialImageList, BinPacker
|
||||
from ..core.translations import t
|
||||
from ..core.logging_setup import logger
|
||||
import traceback
|
||||
|
||||
class MaterialImageList:
|
||||
def __init__(self):
|
||||
@@ -306,6 +307,6 @@ class AvatarToolKit_OT_AtlasMaterials(Operator):
|
||||
return {"FINISHED"}
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"Error creating material atlas: {str(e)}", exc_info=True)
|
||||
logger.error(f"Error creating material atlas: {traceback.format_exc()}", exc_info=True)
|
||||
self.report({'ERROR'}, t("TextureAtlas.atlas_error"))
|
||||
raise e
|
||||
|
||||
Reference in New Issue
Block a user