[Bf-funboard] Question on appending
Bart
bart at neeneenee.de
Wed Sep 15 12:06:23 CEST 2004
Hey JMS,
did you get my updated and improved keyboard reference script:
http://www.area42.de/hotkeys.zip
Have Fun!
Karamba!
Bart.
Blender Feature Proposal:
http://www.neeneenee.de/blender/features/
jms wrote:
> Stephen Swaney wrote:
>
>> joeedh wrote:
>>
>>
>>> First, a invaluable tip for developing Blender modules: don't import
>>> then. Concatinate the lines from the Text object and run it using
>>> exec(). Blender will only import from a Text object once. After that,
>>> it will NOT reload it, not even if you tell Blender to reload the file.
>>> You have to physically exit Blender, or maybe open another file, or
>>> something to clear it.
>>>
>>
>>
>> This is standard Python behavior. Python will not reload a
>> module if its name can be found in sys.modules. The solution
>> is to force a reload:
>>
>> import some_module
>> reload( some_module )
>>
>> The question appears in the Python Programming FAQ.
>>
>>
>>
> Not exactly a news, this method is used in the povanim script since 2
> years:
> http://jmsoler.free.fr/util/blenderfile/povanim.htm
>
> @+
> _______________________________________________
> Bf-funboard mailing list
> Bf-funboard at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-funboard
>
More information about the Bf-funboard
mailing list