4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-14 22:36:52 +00:00

Blender 2.66 looks nice...

This commit is contained in:
2013-02-23 21:40:29 -05:00
parent b1174740a4
commit a0e2d1504c
3 changed files with 3 additions and 8 deletions

View File

@ -20,7 +20,7 @@ from . import operators, properties, ui
bl_info = {
"name": "Korman",
"author": "Guild of Writers",
"blender": (2, 6, 3), # I can't be bothered to support old stuff
"blender": (2, 6, 6), # I can't be bothered to support old stuff
"location": "File > Import-Export",
"description": "Exporter for Cyan Worlds' Plasma Engine",
"warning": "alpha",

View File

@ -39,9 +39,3 @@ def _new_poll(cls, context):
def _swap_poll(cls):
cls._old_poll = cls.poll
cls.poll = _new_poll
# Hmm... Physics panels don't respect the supported engine thing.
# Metaprogramming to the rescue!
from bl_ui import properties_physics_common
_swap_poll(properties_physics_common.PhysicButtonsPanel)
del properties_physics_common

View File

@ -34,7 +34,8 @@ class PlasmaAgePanel(AgeButtonsPanel, bpy.types.Panel):
# We want a list of pages and an editor below that
row = layout.row()
row.template_list(age, "pages", age, "active_page_index", rows=2)
row.template_list("UI_UL_list", "pages", age, "pages", age,
"active_page_index", rows=2)
col = row.column(align=True)
col.operator("world.plasma_page_add", icon="ZOOMIN", text="")
col.operator("world.plasma_page_remove", icon="ZOOMOUT", text="")