[LuxBlend25] Rev. 33462 breaks many parts of the exporter

Discussion related to the 'LuxBlend' Blender 2.4+ python exporter script.

Moderators: Ratow, SATtva, coordinators

[LuxBlend25] Rev. 33462 breaks many parts of the exporter

Postby Dobz » Sun Dec 05, 2010 4:06 am

r33462 - campbellbarton:
disallow setting RNA attributes while drawing, this is bad practice so enforcing here has the benifit of making sure people are not manipulating blender scene data in a drawing panel for eg.

This is ifdef'd and may be disabled later on, or only enabled in debug mode.

This applies to setting any RNA value that has an ID and is not a screen or window-manager datablock.

Some addons break this rule and need fixing but from my tests blender UI scripts are ok. [sic]


This breaks LuxBlend25 and a few other scripts, I don't how hard it would be to fix. My current solution is to just revert the change and recompile. :P
User avatar
Dobz
 
Posts: 45
Joined: Sun Aug 01, 2010 3:16 am

Re: [LuxBlend25] Rev. 33462 breaks many parts of the exporte

Postby dougal2 » Sun Dec 05, 2010 4:27 am

Agreed. The best thing to do for now is to use the version of blender before this commit. Frankly, I'm quite annoyed that campbell would disable this feature, breaking addons, without providing an alternative API to use. :x
User avatar
dougal2
Developer
 
Posts: 3073
Joined: Mon Jan 14, 2008 7:21 am

Re: [LuxBlend25] Rev. 33462 breaks many parts of the exporte

Postby Lord Crc » Sun Dec 05, 2010 5:05 am

dougal2 wrote:Frankly, I'm quite annoyed that campbell would disable this feature, breaking addons, without providing an alternative API to use. :x


Perhaps he's trying to annoy you addon-writers enough to add the API for him? After all it's open source, anyone can do it :P
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 4452
Joined: Sat Nov 17, 2007 2:10 pm


Return to LuxBlend (Blender Exporter)

Who is online

Users browsing this forum: No registered users and 0 guests