- User Since
- Feb 19 2016, 6:45 AM (160 w, 3 d)
Apr 27 2016
Perhaps I should suspend work on this until a clear use case emerges. Do you agree @Campbell Barton (campbellbarton)?
Apr 23 2016
@Campbell Barton (campbellbarton) Should empty=True for read_homefile and read_factory_settings delete more data than in my implementation, i.e. to get the file to the stage Mikhail is talking about (a completely empty file)?
That makes sense. Thanks for the info. It does sound like a very specific use case.
@Mikhail Rachinskiy (alm) I believe it's using a factory settings blend file if using read_factory_settings, or using the user's startup.blend if using read_homefile. In both cases it's deleting data from the file after it's loaded (if empty is passed as an argument). What data did you need to delete exactly? I'm trying to understand what you're after. Since you need a completely empty file, why can't you create one and set it as the startup.blend, then use read_homefile?
Apr 22 2016
Aha, I see what you mean! Thanks, that's much better. Updated diff here:
@Mikhail Rachinskiy (alm) User preferences are kept if using read_homefile, but not if using read_factory_settings. Either way, I believe custom sculpt brushes are removed. I'm not sure what you mean by space data, sorry (I'm still learning Blender).
Apr 20 2016
Thanks Campbell! I will address those changes soon.