[Bf-python] __blender__ constant

dunk dunk at dunkfordyce.co.uk
Fri Dec 30 22:43:48 CET 2005


On Friday 30 December 2005 21:36, Thomas Bleicher wrote:
> try:
>      import Blender
>      from Blender import Draw, BGL
> except ImportError:
>      import BlenderDummy as Blender
>      from BlenderDummy import Draw, BGL

i guess i was thinking that my way would you to just rename your BlenderDummy 
module Blender. That could allow you to run any blender script without 
modifying it ;)

but generally, 17 days after sending this, im against the idea anyhow



More information about the Bf-python mailing list