<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
bpy.data.<i>collections </i>?<br>
collections can already be used to store arbitrary data inside a
.blend, without the need to attach these datas to a 3D data. it's
persistent.<br>
<br>
also for global script configuration there's a helper method in the
obj exporter that allows to store/retrieve configurations in the
user folder, I used this one in the dX importer.<br>
<br>
sorry if I missed something<br>
<br>
Jerome<br>
<br>
Le 29/12/2011 02:53, John Villar a écrit :
<blockquote
cite="mid:CA+uvtrwKK6FouK5AWu=HHka4G5jG10cLKGxx-Y-OPzAd81404A@mail.gmail.com"
type="cite">Same opinion here... i'm currently enhancing my
"Machete exporter" and i'm including support for an HTTP asset
server. It is a royal pain supporting addon-wide configurations on
this kind of scenario, which lead me to include a little text on
the beginning of the addon .py to configure the asset server
(which is, in my opinion, a very unelegant way to do it).
<div>
<br>
</div>
<div>It would totally rock if the addons tab could have a
"Configure..." button for each addon on the list, so we can
include this type of configuration there.<br>
<div><br clear="all">
John Villar<br>
<br>
<br>
<div class="gmail_quote">2011/12/28 Matt Ebb <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:matt@mke3.net">matt@mke3.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote">On Thu, Nov 24, 2011 at 12:22 AM,
Campbell Barton <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:ideasman42@gmail.com" target="_blank">ideasman42@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
currently blender doesnt really have a way to store
global data in a<br>
blend file... data is attached to a scene/screen
normally, why do you<br>
need this?<br>
<br>
Not what you are asking for but related, IMHO we
should have a way to<br>
deal with user preferences for addons (or just any
script).<br>
<br>
I plan to add at some stage and probably isn't all
that hard - just<br>
need to add the ability to have user preference define
new property<br>
types like we have now for IDs.</blockquote>
<div><br>
</div>
<div>Sorry to re-animate this old thread, but I just
thought I'd add a +1 for this. I'm currently using
scene properties for this sort of thing, which isn't
very good. Storing paths to external executables,
search paths for external data, etc. can be a real
pain when it's attached to each scene and you have to
set it up in each new file.</div>
<div><br>
</div>
<div>cheers</div>
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>Matt</div>
<div><br>
</div>
</font></span></div>
<br>
_______________________________________________<br>
Bf-python mailing list<br>
<a moz-do-not-send="true"
href="mailto:Bf-python@blender.org">Bf-python@blender.org</a><br>
<a moz-do-not-send="true"
href="http://lists.blender.org/mailman/listinfo/bf-python"
target="_blank">http://lists.blender.org/mailman/listinfo/bf-python</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Bf-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-python@blender.org">Bf-python@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-python">http://lists.blender.org/mailman/listinfo/bf-python</a>
</pre>
</blockquote>
<br>
</body>
</html>