Add basic operator to setup a light env

This commit is contained in:
2024-05-31 10:10:45 +02:00
parent 30531affba
commit e380e894d7
3 changed files with 17 additions and 3 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
import bpy
import os
# import os
# from pathlib import Path
#
@@ -31,6 +31,7 @@ class GRAOU_PT_panel(bpy.types.Panel):
col.label(text='Main Config:')
col.operator('graou.build_scene', text='Init Scene', icon='OUTLINER')
col.prop(context.scene.graou_props, 'socket_collection', text='Use socket', toggle=True)
col.operator('graou.lighting', text='Set basic lighting', icon='OUTLINER_OB_LIGHT')
layout.separator()