Blender Git Commits

Blender Git "master" branch commits.

Page: 4897 / 5574

Revision 6d0e840 by Ian Thompson
July 22, 2008, 15:31 (GMT)
Bug fix for the bug fix. Wasn't closing the clipboard before returning. Thanks b333rt for catching this.
Revision 20af6c6 by Ian Thompson
July 22, 2008, 14:56 (GMT)
Bugfix: Pasting non-text data (or trying to retrieve non-text data from the clipboard) crashed blender on Windows.
July 22, 2008, 12:02 (GMT)
July 22, 2008, 11:50 (GMT)
*BVHTreeFromMesh api changed.. it now stores all information like defaults callbacks to raycast and nearest surface (just to make it easier to use)
*Fixed button size of "Above surface"
Revision 32d10bc by Joshua Leung
July 22, 2008, 09:53 (GMT)
== Grease Pencil ==

Grease Pencil is a tool which allows you to draw freehand in some views, allowing you to annotate/scribble over the contents of that view in either 2d or 3d. This facilitates many easier communication and planning abilities.

To use, simply enable it from the View menu (choose 'Grease Pencil...' and click 'Use Grease Pencil'). Then, click+drag using the left-mouse button and the shift-key held to draw a stroke.

For more information, check the following page on the wiki:
http://wiki.blender.org/index.php/User:Aligorith/247_Grease_Pencil
July 22, 2008, 08:15 (GMT)
soc-2008-mxcurioni: filled and tested StrokeVertex class
July 22, 2008, 00:27 (GMT)
soc-2008-mxcurioni: corrected StrokeAttribute, verified with test case.

I realized today that it will not be possible to implement getter/setter functionality easily for our Freestyle API. The reason is that Python does not support function overloading as-is. It is possible to 'fake' overloading by taking a general argument object and count the number of arguments in the object (rgbTuple_setCol in Blender's API is a good example of how to go about it).

For the time being, we'll get around that problem. The tangible effect of that constraint is that all API setter functions return a 'None' PyObject, instead of returning an integer status code. It is important to note that this problem is due to Freestyle's API being C++ in nature. Fortunately, this shouldn't really impact the usage of the API.

If the Blender Python group wants me to correct that, I'll be able to do it. It is just going to take me quite some time correcting it, writing support functions for methods having different types of arguments.
July 21, 2008, 22:36 (GMT)
Fixed a bug relative to editmode..
now its calling CDDM_calc_normals when receiving a mesh to deform,
since in edit mode the mesh doenst has normals calculated
July 21, 2008, 21:24 (GMT)
Added StrokeAttribute class. Beginning of StrokeVertex.

IMPORTANT: The setters functions' names were normalized due to constant confusion regarding capitalization. All the function names start with set... instead of Set.... This convention was changed all throughout Freestyle. To use Freestyle as an external renderer, the SWIG library MUST be regenerated.
Revision 4c086bf by Ken Hughes
July 21, 2008, 20:42 (GMT)
Python API
----------

Particle patch from Cédric Paille: bugfixes and child-particles export improvements for .getLoc(), part.getRot() part.getSize(), part.getAge() methods.

Also fix a bug with part.randemission getter (was using PART_BOIDS_2D instead of PART_TRAND), plus typos and duplications in API documentation.

Revision 07b8c7e by Ian Thompson
July 21, 2008, 19:11 (GMT)
Updated the textplugin_outliner.py plug-in to use the new Draw.PupTreeMenu and updated this menu to support titles.
July 21, 2008, 18:12 (GMT)
Made shrinkwrap modifier work when target or cutPlane are in editmode.
July 21, 2008, 17:05 (GMT)
allow to write to libraries that are indirectly linked
Revision 434f217 by Ian Thompson
July 21, 2008, 16:40 (GMT)
Removed requirement for suggestions to be pre-sorted. Allowed lists of strings to be suggested without having to specify their type. Specifying a prefix when suggesting is now also optional.
July 21, 2008, 13:47 (GMT)
Fix for crash with fc and quality < 5 (reported by Nudel)
July 21, 2008, 12:37 (GMT)
BGE patch: Optimization of bullet adaptation layer - part 1.

First batch of optimizaton of the bullet adaptation layer in the BGE.
- remove circular motion state update.
- optimization of physic adaptation layer for bullet: bypass
unecessary conversion of rotation matrix to quaternion and back.
- remove double updates during object replication.
Revision 5435d7c by Ian Thompson
July 21, 2008, 11:21 (GMT)
Oops, typo in rev. 15664 caused error
Revision fab7270 by Ian Thompson
July 21, 2008, 10:07 (GMT)
Script template added for text plug-ins
July 21, 2008, 07:10 (GMT)
Enabled fc for testing
Revision 6352cd5 by Ian Thompson
July 21, 2008, 00:38 (GMT)
BPyTextPlugin now has descriptors for variables, functions and classes (and their variables/functions). Each descriptor also holds the line number of the definition allowing a simple outliner to be written.

Text.setCursorPos(row, col) now pops the text into view if it is in the active window space. The outliner uses this to jump to any definition in a script; it is invoked with Ctrl+T.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021