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