Merge branch 'Current' into Alpha-3
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import traceback
|
||||
import bpy
|
||||
import numpy as np
|
||||
from typing import List, Optional, Dict, Set, Tuple, Any
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import traceback
|
||||
import bpy
|
||||
from bpy.types import Operator, Context, Object, ArmatureModifier, VertexGroup
|
||||
from mathutils import Vector
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import traceback
|
||||
import bpy
|
||||
import re
|
||||
from typing import Set, Dict, List, Optional, Tuple
|
||||
@@ -121,6 +122,7 @@ class AvatarToolkit_OT_CombineMaterials(Operator):
|
||||
|
||||
try:
|
||||
num_cleaned = self.clean_material_slots(meshes)
|
||||
|
||||
except Exception:
|
||||
logger.error(f"Material slot cleanup failed: {traceback.format_exc()}")
|
||||
self.report({'ERROR'}, t("Optimization.error.slot_cleanup"))
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import traceback
|
||||
import bpy
|
||||
from typing import Set, List, Tuple, ClassVar
|
||||
from bpy.types import Operator, Context, Object
|
||||
|
||||
@@ -122,7 +122,6 @@ class AvatarToolkit_OT_RemoveDoubles(Operator):
|
||||
except Exception:
|
||||
logger.error(f"Error in execute: {traceback.format_exc()}")
|
||||
return {'CANCELLED'}
|
||||
|
||||
def modal(self, context: Context, event: Event) -> set[ModalReturnType]:
|
||||
"""Modal operator execution"""
|
||||
try:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import traceback
|
||||
import bpy
|
||||
from typing import Set, Dict, List, Tuple, Optional, Any
|
||||
from bpy.props import StringProperty
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import traceback
|
||||
import bpy
|
||||
import numpy as np
|
||||
from bpy.types import Operator, Context
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import traceback
|
||||
import bpy
|
||||
import re
|
||||
from bpy.types import Operator, Context, EditBone, Object, Armature, Mesh
|
||||
@@ -86,7 +87,6 @@ class AvatarToolKit_OT_CreateDigitigradeLegs(Operator):
|
||||
|
||||
except Exception as e:
|
||||
self.report({'ERROR'}, t("Tools.digitigrade_error", error=traceback.format_exc()))
|
||||
|
||||
return False
|
||||
|
||||
def execute(self, context: Context) -> set[str]:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import traceback
|
||||
import bpy
|
||||
import math
|
||||
from typing import Set, List
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import traceback
|
||||
import bpy
|
||||
from bpy.types import Operator, Context
|
||||
from ...core.translations import t
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import traceback
|
||||
import bpy
|
||||
from typing import Dict, List, Set, Optional, Tuple, Any
|
||||
from bpy.types import Operator, Context, Object, PoseBone, EditBone, Bone, Constraint
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# This code was taken from Cats Blender Plugin Unoffical, some of this code is by the original developers, however was improved by myself.
|
||||
# Didn't think it was necessary to re-make something that works well.
|
||||
|
||||
import traceback
|
||||
import bpy
|
||||
from typing import Dict, List, Optional, Tuple, Any, Set, Union
|
||||
from bpy.types import Operator, Context, Object, ShapeKey
|
||||
|
||||
Reference in New Issue
Block a user