If it's the default value, before change the default blend, you can try with a do_versions. Change the default blend file always come with problems ;)
On Mon, May 31, 2010 at 4:51 PM, Daniel Salazar - 3Developer.com <[email protected]> wrote: > BTW this should be done very carefully, if you want you can just > commit like it is and I will fix the defaults later? > > cheers > > Daniel Salazar > www.3developer.com > > > > On Mon, May 31, 2010 at 1:49 PM, Daniel Salazar - 3Developer.com > <[email protected]> wrote: >> Hi Raul, those are actually saved in the B.blend.c file >> (/blender/source/blender/editors/datafiles and you would need to >> generate a new compilable default blend file using the datatoc.py >> script included in release >> >> pura vida! >> >> Daniel Salazar >> www.3developer.com >> >> >> >> On Mon, May 31, 2010 at 1:45 PM, Raul Fernandez Hernandez >> <[email protected]> wrote: >>> Hi all :) >>> >>> I'm about to commit to my branch the Unlimited clay feature for >>> sculpting, but I'm getting troubles trying to set up the default value >>> for the new property brush.detail, in the RNA the range is 0.05-1.f where >>> 0.05 subdivide a lot the mesh and 1.0 is quite rough so the default vaue >>> should be 0.25 >>> but I could not find the place where the brush get its default value >>> >>> add_brush() only works with newly created brushes, not the ones that exite >>> when Blender start >>> >>> If I get a quick answer I could commit by today >>> >>> Thanks in advance Raul >>> >>> _______________________________________________ >>> Bf-committers mailing list >>> [email protected] >>> http://lists.blender.org/mailman/listinfo/bf-committers >>> >> > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
