<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 21, 2012 at 1:01 AM, Campbell Barton <span dir="ltr"><<a 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"><div>You can still store settings in the scene as before, just not access<br>
the active scene while enabling the addon (that moment just after<br>
clicking on the checkbox until the view updates).</div></blockquote></div><br></div><div class="gmail_extra">Yep, I understand that. I'm also not sure if this affect my addon either, since right now I'm using the dodgy hack of accessing bpy.data.scenes[0] directly at registration time to retrieve my data. Will this be broken now too, or just context? (I haven't been able to test yet... using Lukas' branch, which hasn't been updated yet).</div>

<div class="gmail_extra"><br></div><div class="gmail_extra" style>In this case, I'm dynamically generating some custom types on addon register, based on some external files. I need to store the path to that external data somewhere so users can customise it from the blender UI.</div>

<div class="gmail_extra" style><br></div><div class="gmail_extra" style>Currently these properties are stored in the scene. I'm not particularly attached to using the scene, it's only because there's not really anywhere else that's a good fit at the moment. User Preferences would be much better, since it's persistent across different files being opened, but that's not currently possible.</div>

<div class="gmail_extra" style><br></div><div class="gmail_extra" style>Just giving you an idea of the use case, hopefully will find out soon if bpy.data is affected too..</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>

thanks,</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>Matt</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style><br></div>
</div>