[Bf-committers] Reset to Defaults...

Dan Eicher dan at trollwerks.org
Mon Jan 28 18:50:53 CET 2013


A while back I was theorizing that if all rna settings had a 'default'
value coded in you wouldn't even need a startup.blend anymore (with all the
hassle that brings, people accidently change settings, having to recompile
&etc) but could be replaced with a simple script that adds a
[cube(w/material), lamp, camera] with proper transforms and all that which
gets run on startup and new.

This was before the startup.blend got compiled in to the blender binary so
probably isn't much of an option anymore though.

The current situation is somewhat aggravating -- very few rna settings have
a default value, reset to default is broken because of this and all the
defaults are 'hardcoded' into startup.blend and/or scattered about the code
base in operators and whatnot where there's no way to easily get at them
either programmically or through the UI.

Having all the default values in one central location where python,
operators and the UI can all get to them seems like A Good Thing.

Dan


More information about the Bf-committers mailing list