Skip to content

Commit a381910

Browse files
committed
Added collapsable group box for the Options section, removed maps_names_from_files since it is available in the 2-gears operator, cleanup and bugfixes
1 parent 8c7c086 commit a381910

7 files changed

+188
-222
lines changed

__init__.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import bpy
2+
13
bl_info = {
24
"name": "Substance Textures Importer",
35
"author": "Cosmin Planchon",
@@ -10,21 +12,19 @@
1012
"tracker_url": "https://github.com/Kos-Design/substance_textures_importer/issues",
1113
"category": "Node"}
1214

13-
import bpy
15+
from . functions import menu_func
1416

1517
from . propertygroups import ( StringItem,LinerItem,ShaderLinks, NodesLinks, StmProps)
1618

17-
from . operators import ( NODE_OT_stm_reset_substance_textures,
18-
NODE_OT_stm_move_line,NODE_OT_stm_add_substance_texture,NODE_OT_stm_del_substance_texture,
19+
from . operators import ( NODE_OT_stm_reset_substance_textures,NODE_OT_stm_del_substance_texture,
20+
NODE_OT_stm_move_line,NODE_OT_stm_add_substance_texture,
1921
NODE_OT_stm_surfacing_setup,NODE_OT_stm_fill_names,IMPORT_OT_stm_window)
2022

2123
from . panels import ( NODE_PT_stm_nodes_panel,MATERIAL_PT_stm_material_panel )
2224

2325
from . preferences import (StmAddonPreferences, StmPanelLiner, NODE_UL_stm_list, StmPanelLines,
2426
StmChannelSocket, StmChannelSockets,StmShaders, StmNodes,)
2527

26-
from . functions import menu_func
27-
2828
classes = (
2929
LinerItem,
3030
StringItem,

0 commit comments

Comments
 (0)