17 lines
475 B
Python
17 lines
475 B
Python
|
import bpy
|
||
|
from bpy.props import *
|
||
|
from bpy.types import Menu, Panel
|
||
|
|
||
|
class TLM_PT_WorldMenu(bpy.types.Panel):
|
||
|
bl_label = "The Lightmapper"
|
||
|
bl_space_type = "PROPERTIES"
|
||
|
bl_region_type = "WINDOW"
|
||
|
bl_context = "world"
|
||
|
bl_options = {'DEFAULT_CLOSED'}
|
||
|
|
||
|
def draw(self, context):
|
||
|
layout = self.layout
|
||
|
scene = context.scene
|
||
|
obj = bpy.context.object
|
||
|
layout.use_property_split = True
|
||
|
layout.use_property_decorate = False
|