December 30, 2012, 18:28 (GMT) |
Add BLI_buffer, an alternative to BLI_array BLI_buffer is a dynamic homogeneous array similar to BLI_array, but it allocates a structure that can be passed around making it possible to resize the array outside the function it was declared in. |
December 30, 2012, 18:27 (GMT) |
Add DNA/RNA/BKE infrastructure for dynamic-topology sculpt mode * Add a detail_size field to the Sculpt struct, two new sculpt flags, and a Mesh flag for dynamic-topology mode; that's it for file-level changes needed by dynamic topology * Add RNA for the new DNA field and flags * Add a new icon for dynamic-topology created by Julio Iglesias. TODO: update the icon for the new SVG icon format * Add a SculptSession function for converting from BMesh to Mesh, handles reordering mesh elements and setting face shading |
December 30, 2012, 18:26 (GMT) |
Move layer displacements from SculptUndoNode to PBVHNode * This doesn't make much difference for regular mesh/multires sculpting, but for dynamic topology sculpting the undo stack isn't split up by PBVH nodes, so it's more convenient to store the layer data in PBVH nodes. * Note that the life cycle of the layer displacement data is unchanged -- it's only valid during a stroke with the layer brush, gets free'd when the undo step ends. |
December 30, 2012, 18:25 (GMT) |
Code cleanup: move PBVH/PBVHNode structs into new header file |
December 30, 2012, 18:24 (GMT) |
Add GPU_buffers support for drawing dynamic topology nodes The GPU interface for PBVH drawing gets a new pair of build/update buffers functions for drawing BMFaces and BMVerts. TODO: the diffuse color is hardcoded to 0.8 gray rather than using material color. TODO: only VBO drawing is implemented, no immediate mode. |
December 30, 2012, 18:24 (GMT) |
Add BMLog for efficiently storing changes to vertices and faces The BMLog is an interface for storing undo/redo steps as a BMesh is modified. It only stores changes to the BMesh, not full copies. Currently it supports the following types of changes: - Adding and removing vertices - Adding and removing faces - Moving vertices - Setting vertex paint-mask values - Setting vertex hflags |
December 30, 2012, 18:23 (GMT) |
Disable fall through to global undo from paint/sculpt undo Undoing/redoing in sculpt and other paint modes should only use the mode-specific undo, not global undo. It is now consistent with edit mode and avoids tricky interaction between the two systems. |
December 30, 2012, 18:23 (GMT) |
Add function to find closest point in triangle to another point New function is closest_to_tri_v3() in BLI_math_geom. |
December 30, 2012, 18:22 (GMT) |
Add BM_edge_calc_squared_length() query function Same as BM_edge_calc_length(), but avoids square root for cases where only comparison is needed. |
December 30, 2012, 18:20 (GMT) |
Import the RangeTree library into extern RangeTree is a simple C++ tree set for storing non-overlapping scalar ranges. Original source from: https://github.com/nicholasbishop/RangeTree Also update the build systems to include RangeTree. |
December 30, 2012, 18:17 (GMT) |
Fix crash in syntax color code when drawing a text editor with no text. |
December 30, 2012, 15:40 (GMT) |
optimization for text drawing: - dont set the color for each character, check if it changes from the previous one. - dont memcpy text into a null terminated string to draw, instead rely on the length argument to BLF_draw(). |
December 30, 2012, 15:16 (GMT) |
style cleanup: casts, some casts had odd formatting, but very few. Style checker script detects this now so easy to detect this if new code is added that doesnt follow blenders style. |
December 30, 2012, 14:31 (GMT) |
More trackpad woes: Rotate with two-finger trackpad swipes should follow same principle as for panning. This is first commit - for clarity. Remaining issue is that for each system preset (in your OS) blender should work as you expect too... pan, rotate and zoom gestures might need each an own direction preset. Might be also messy, but then things can at least work for everyone. Thinking it over and testing more now. |
December 30, 2012, 13:01 (GMT) |
16 bit PNG write support This commit adds a support of saving 16bit PNG files. Alpha for such files would be premultiplied, would be corrected with an upcoming alpha premul cleanup (it's not the only format which will output 16bit image with premul alpha). |
December 30, 2012, 10:38 (GMT) |
Revert change from Jens, wrong pointer check in the code. That change made all scrollwheel events be handled as if it was a swipe gesture. Old style mouse wheel didn't work anymore. This version should work for everyone, but we need more mac testers :) |
December 30, 2012, 10:37 (GMT) |
OSL Templates: remove unnecessary stdosl.h include. |
December 30, 2012, 03:11 (GMT) |
OSL Templates: * Add 3 simple templates: ** empty_shader.osl: A basic shader declaration to start with ** wireframe.osl: Simple wireframe shader ** noise.osl: Simple noise shader, with 3 noise types. |
December 30, 2012, 02:51 (GMT) |
OSL Syntax Highlighting: * Added the remaining shader types * Some comment and link fixes. |
December 30, 2012, 01:39 (GMT) |
add templates menu for OSL, use preprocessor directive color for decorators in python. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021