Blender Git Commit Log

Git Commits -> Revision ade8f51

Revision ade8f51 by Campbell Barton (master)
July 30, 2009, 08:10 (GMT)
Engine specific panel's
- All of this is in python and easy to change.
- each panel class has a set() of compatible engines.
- this set is checked for the poll function
- external engines can add themselves to this panels compatible engines
eg.
buttons_world.WORLD_PT_mist.COMPAT_ENGINES.add('POVRAY_RENDER')

I tried doing this by subclassing each panel and replacing only the poll function to reference 'POVRAY_RENDER' but it became fairly complicated and meant registering many of the same panels under different names.

Added mist support to povray.

Commit Details:

Full Hash: ade8f5197a1971839253bb8d30eac676d5868e1c
SVN Revision: 22041
Parent Commit: 61bd567
Lines Changed: +101, -26

5 Modified Paths:

/release/io/engine_render_pov.py (+51, -4) (Diff)
/release/ui/buttons_material.py (+24, -14) (Diff)
/release/ui/buttons_scene.py (+14, -4) (Diff)
/release/ui/buttons_world.py (+11, -4) (Diff)
/release/ui/space_console.py (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021