forked from Gvgeo/Pivot-Painter-for-Blender
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path__init__.py
29 lines (24 loc) · 925 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import bpy
from . import PivotPainterTool
from bpy.props import PointerProperty
bl_info = {
"name": "Pivot Painter",
"author": "George Vogiatzis (Gvgeo)",
"version": (1, 1, 3),
"blender": (2, 80, 0),
"location": "View3D > Tool Shelf > Unreal Tools",
"description": "Tools to create 3d model for Unreal Engine 4, that make use of the Pivot Painter Tool's material functions",
"wiki_url": "https://github.com/Gvgeo/Pivot-Painter-for-Blender",
"category": "Unreal Tools",
}
def register():
from bpy.utils import register_class
for cls in PivotPainterTool.classes:
register_class(cls)
bpy.types.Scene.pivot_painter = PointerProperty(
type=PivotPainterTool.UE4_PivotPainterProperties)
def unregister():
from bpy.utils import unregister_class
for cls in reversed(PivotPainterTool.classes):
unregister_class(cls)
del bpy.types.Scene.pivot_painter