Changeset View
Changeset View
Standalone View
Standalone View
rigify/generate.py
| Show All 15 Lines | |||||
| # | # | ||||
| #======================= END GPL LICENSE BLOCK ======================== | #======================= END GPL LICENSE BLOCK ======================== | ||||
| # <pep8 compliant> | # <pep8 compliant> | ||||
| import bpy | import bpy | ||||
| import re | import re | ||||
| import time | import time | ||||
| import traceback | |||||
| import sys | |||||
| from rna_prop_ui import rna_idprop_ui_prop_get | from rna_prop_ui import rna_idprop_ui_prop_get | ||||
| from .utils.errors import MetarigError | |||||
| from .utils.bones import new_bone | from .utils.bones import new_bone | ||||
| from .utils.layers import ORG_LAYER, MCH_LAYER, DEF_LAYER, ROOT_LAYER | from .utils.layers import ORG_LAYER, MCH_LAYER, DEF_LAYER, ROOT_LAYER | ||||
| from .utils.naming import ORG_PREFIX, MCH_PREFIX, DEF_PREFIX, ROOT_NAME, make_original_name | from .utils.naming import ORG_PREFIX, MCH_PREFIX, DEF_PREFIX, ROOT_NAME, make_original_name | ||||
| from .utils.widgets import WGT_PREFIX | from .utils.widgets import WGT_PREFIX | ||||
| from .utils.widgets_special import create_root_widget | from .utils.widgets_special import create_root_widget | ||||
| from .utils.misc import copy_attributes, gamma_correct, select_object | from .utils.misc import gamma_correct, select_object | ||||
| from .utils.collections import ensure_widget_collection, list_layer_collections, filter_layer_collections_by_object | from .utils.collections import ensure_widget_collection, list_layer_collections, filter_layer_collections_by_object | ||||
| from . import base_generate | from . import base_generate | ||||
| from . import rig_ui_template | from . import rig_ui_template | ||||
| from . import rig_lists | from . import rig_lists | ||||
| RIG_MODULE = "rigs" | RIG_MODULE = "rigs" | ||||
| ▲ Show 20 Lines • Show All 578 Lines • Show Last 20 Lines | |||||