Browse Source

Blender 2.66 looks nice...

pull/1/head
Adam Johnson 11 years ago
parent
commit
a0e2d1504c
  1. 2
      korman/__init__.py
  2. 6
      korman/render.py
  3. 3
      korman/ui/ui_world.py

2
korman/__init__.py

@ -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",

6
korman/render.py

@ -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

3
korman/ui/ui_world.py

@ -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="")

Loading…
Cancel
Save