Blender SVN Loki
Viimeisimmät 20 Blender SVN Trunkin kommittia.17 minutes ago |
Fix blenderplayer linking with recent additions to bmesh python. We should really start building with player on so that mistakes like this can be detected early. |
Revision 44335 by campbellbarton 2 hours 22 min ago |
code cleanyp - no functional changes. |
2 hours 53 min ago |
More style edits (adding a space between statements and parenthesis, if (foo) blah;), to follow http://wiki.blender.org/index.php/User:Nazg-gul/CodeStyle proposition. |
Revision 44332 by campbellbarton 3 hours 6 min ago |
bmesh python api change in internal behavior. * Only have 1 python object per bmesh, vertex, edge, loop, face. * Store pointers back to the python data in a custom data layer so as not to use more memory for normal editing operations (when pythons not running). * Currently this data is created and freed along with the BMesh PyObject. * Incidentally - this fixes comparisons for bmesh elements which wasnt working before. |
3 hours 39 min ago |
Style code cleanup and consistancy (mainly spaces around assignements, C++ comments to C, and misc spaces/tabs cleanup). No functional change. |
4 hours 10 min ago |
Cycles: improve the Oren-Nayar BSDF (roughness value for Diffuse), to avoid undesired dark rings, and give more accurate lighting when the light is behind the object. As a bonus, the code is simpler & faster. Patch by Yasuhiro Fujii, detailed explanation here: http://mimosa-pudica.net/improved-oren-nayar.html |
Revision 44329 by campbellbarton 4 hours 19 min ago |
fix 2 small bugs * Ctrl+Click extrude wasnt normalizing the quaternion (was printing warnings) * bmesh bevel was supposed to add a float layer and remove, but removing passed the mask define of the customdata layer. |
4 hours 55 min ago |
Multi File Output Node: * Some small UI tweaks, grey out image settings rather than hide and made it a bit more compact. |
5 hours 59 min ago |
Fix freeing of NULL pointer in array modifier. |
6 hours 15 min ago |
Fixed compilation error after recent node commit. |
Revision 44324 by campbellbarton 6 hours 20 min ago |
add slice access to bmesh sequences. eg: verts = bm.verts[1:-7] |
Revision 44323 by campbellbarton 6 hours 46 min ago |
BMesh-py attributes (readonly): * is_valid (all types) * is_wire (verts/edges) * is_boundry (edge only) * is_manifold (verts/edges) also corrected own error, missed updating BMesh operator formatting char (broke erase only-faces) |
Revision 44322 by lukastoenne 6 hours 50 min ago |
Adds a new node type for saving multiple image files from a single node. Unlike the existing file output node this node has an arbitrary number of possible input slots. It has a base path string that can be set to a general base folder. Every input socket then uses its name as an extension of the base path for file organization. This can include further subfolders on top of the base path. Example: Base path: '/home/user/myproject' Input 1: 'Compo' Input 2: 'Diffuse/' Input 3: 'details/Normals' would create output files in /home/user/myproject: Compo0001.png, Compo0002.png, ... in /home/user/myproject/Diffuse: 0001.png, 0002.png, ... (no filename base given) in /home/user/myproject/details: Normals0001.png, Normals0002.png, ... Most settings for the node can be found in the sidebar (NKEY). New input sockets can be added with the "Add Input" button. There is a list of input sockets and below that the details for each socket can be changed, including the sub-path and filename. Sockets can be removed here as well. By default each socket uses the render settings file output format, but each can use its own format if necessary. To my knowledge this is the first node making use of such dynamic sockets in trunk. So this is also a design test, other nodes might use this in the future. Adding operator buttons on top of a node is a bit unwieldy atm, because all node operators generally work on selected and/or active node(s). The operator button would therefore either have to make sure the node is activated before the operator is called (block callback maybe?) OR it has to store the node name (risky, weak reference). For now it is only used in the sidebar, where only the active node's buttons are displayed. Also adds a new struct_type value to bNodeSocket, in order to distinguish different socket types with the same data type (file inputs are SOCK_RGBA color sockets). Would be nicer to use data type only for actual data evaluation, but used in too many places, this works ok for now. |
7 hours 3 min ago |
Fix #30290: Shape Keys not working as expected New method of vertex shapekey propagation didn't restored coordinates in me->mvert array which lead to unwanted deformation of basis mesh and lead to issues like described in the report. |
Revision 44320 by campbellbarton 7 hours 10 min ago |
bmesh py api add connectivity attributes - to access adjacent data. |
Revision 44319 by campbellbarton 7 hours 22 min ago |
bmesh py api - function to remove vert/edge/faces |
Revision 44318 by campbellbarton 7 hours 43 min ago |
bmesh python api - add BMEdge.verts, also had to add VERTS_OF_EDGE iterator in bmesh's api. |
Revision 44317 by campbellbarton 8 hours 33 min ago |
bmesh py api - generalize bmesg sequences to use the iterator type and optionally another bmesh element. This allows BMFace.verts to be added without defining a new sequence type. |
Revision 44316 by campbellbarton 9 hours 55 min ago |
initial bmesh python api. corrently allows to create and loop over verts/edges/faces, access selection and selection modes. this is still WIP, access to face, edge verts is still missing, no access to UV's, no access to editing operations yet. When the api is ready it will be documented by sphinx like mathutils, blf, aud. |
Revision 44315 by campbellbarton 9 hours 59 min ago |
utility functions to convert between flags / sets, without depending on RNA API. |

