generated from stilobique/BlenderTemplate
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ebbb80a2da | ||
|
|
9cbe89e4b8 |
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +1,18 @@
|
|||||||
import bpy
|
import bpy
|
||||||
|
import os
|
||||||
|
|
||||||
|
# from pathlib import Path
|
||||||
|
#
|
||||||
|
# preview_collection = {}
|
||||||
|
# icon_sauropod_path = Path(os.path.dirname(os.path.abspath(__file__)), "icons")
|
||||||
|
#
|
||||||
|
# pcoll = bpy.utils.previews.new()
|
||||||
|
#
|
||||||
|
# for entry in os.scandir(icon_sauropod_path):
|
||||||
|
# if entry.name.endswith(".png"):
|
||||||
|
# name = os.path.splitext(entry.name)[0]
|
||||||
|
# print(f'[Pipeline] Add icon "{name}"')
|
||||||
|
# pcoll.load(name.upper(), entry.path, "IMAGE")
|
||||||
|
|
||||||
|
|
||||||
class GRAOU_PT_panel(bpy.types.Panel):
|
class GRAOU_PT_panel(bpy.types.Panel):
|
||||||
@@ -11,6 +25,8 @@ class GRAOU_PT_panel(bpy.types.Panel):
|
|||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
|
||||||
|
# layout.label(text='Graou Pipeline', icon_value=pcoll["GRAOU"].icon_id)
|
||||||
|
|
||||||
col = layout.column(align=True)
|
col = layout.column(align=True)
|
||||||
col.label(text='Main Config:')
|
col.label(text='Main Config:')
|
||||||
col.operator('graou.build_scene', text='Init Scene', icon='OUTLINER')
|
col.operator('graou.build_scene', text='Init Scene', icon='OUTLINER')
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 7.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
File renamed without changes.
Reference in new issue
Block a user