Re: [Bf-committers] a quick question on pydoc, epydoc, rst and doxygen

2011-06-26 Thread Campbell Barton
Hey Dalai, to avoid adding chunks of python example scripts in our C/C++ code I've added automatic example inclusion in generated docs. You can just add: ./doc/python_api/examples/aud.py If you want to include some formatted text explaining the example, the first comment is included as text in th

[Bf-committers] a quick question on pydoc, epydoc, rst and doxygen

2011-06-26 Thread Dalai Felinto
Hi, I wanted to add an intro to audaspace ala the ones we have for bge modules. I don't know how to test it though, so I would appreciate some help here. The patch is: http://www.pasteall.org/22723/diff The "..code block" syntax I got from the .rst files. I'm not sure if it's the same syntax as d

Re: [Bf-committers] a quick question

2010-06-01 Thread Raul Fernandez Hernandez
Hi Thanks a lot :), as soon as I get connected I will fix that. > Changing the default .blend also would not be enough, since existing > .blend files still wouldn't be converted. Here's the code you can add > at the end of do_versions in readfile.c. > > for (brush= main->brush.first; brush; bru

Re: [Bf-committers] a quick question

2010-06-01 Thread Brecht Van Lommel
Changing the default .blend also would not be enough, since existing .blend files still wouldn't be converted. Here's the code you can add at the end of do_versions in readfile.c. for (brush= main->brush.first; brush; brush= brush->id.next) if(brush->detail == 0.0f) brush->detail = 0.2

Re: [Bf-committers] a quick question

2010-05-31 Thread Jason W.
I'm anxious to integrate this into my branch. ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers

Re: [Bf-committers] a quick question

2010-05-31 Thread Daniel Salazar - 3Developer.com
Yah Tom but I believe that is for new brushes, the existing brushes settings are saved on the default blend file. Raul I will have a look into it after you commit pura vida Daniel Salazar www.3developer.com On Mon, May 31, 2010 at 2:10 PM, Tom M wrote: > Raul, > > in blender/blenkernel/intern

Re: [Bf-committers] a quick question

2010-05-31 Thread Tom M
Raul, in blender/blenkernel/intern/brush.c set brush->detail = .25f; see the spacing setting for an analogous situation. LetterRip On Mon, May 31, 2010 at 12:08 PM, Raul Fernandez Hernandez wrote: > Hi :) > > Thanks for the really quick repply ... yes, I think I will commit without > the def

Re: [Bf-committers] a quick question

2010-05-31 Thread Raul Fernandez Hernandez
Hi :) Thanks for the really quick repply ... yes, I think I will commit without the default value and then an experienced dev could do that, after all is what open source is about ;) The default value of 0.05 is very dangerous because it subdivide a lot the mesh, so 0.25 is a safer value. I will

Re: [Bf-committers] a quick question

2010-05-31 Thread Diego B
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 wrote: > BTW this should be done very carefully, if you want you can just > commi

Re: [Bf-committers] a quick question

2010-05-31 Thread Daniel Salazar - 3Developer.com
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 wrote: > Hi Raul, those are actually saved in the B.blend.c file > (/

Re: [Bf-committers] a quick question

2010-05-31 Thread Daniel Salazar - 3Developer.com
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, Ra

[Bf-committers] a quick question

2010-05-31 Thread Raul Fernandez Hernandez
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 shoul