February 22, 2012, 09:19 (GMT) |
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. |
February 22, 2012, 09:15 (GMT) |
utility functions to convert between flags / sets, without depending on RNA API. |
February 22, 2012, 09:13 (GMT) |
correct exception - was using a TypeError when should be a ValueError. |
February 22, 2012, 08:25 (GMT) |
Fix #30276: mesh subdivision shorcut with maya preset Added subdivisions shortcut for mesh editing mode to maya preset. Not actually sure such shortcut present in Maya, but seems to be logical to have it both object and edit modes. |
February 22, 2012, 08:16 (GMT) |
Made Maya keymap working again. Keypam for midpoint knife cutting was disabled for a while due to midpoint toggle was moved to a model keymap and i'm not sure how to start operator with midpoint enabled by default. |
February 22, 2012, 07:56 (GMT) |
Fix #30231: Drag and Droping Parenting from Outliner giving unnecessary Loop Error In fact, error was much deeper and DND parenting in outliner used to parent all selected objects to drop target, not just currently dragging object. This was caused by code sharing between Parent Set operator and this DND operator which was iterating all selected objects in scene and was setting parent to it. Solved issue by separating actual parenting code which makes specified object be parented to specified parent and moved iterating to Parent Set exec callback. Now both of discovered issues (unneeded loop error and parenting all selected objects) are solved, but more extensive testing of this changes are welcome. |
February 22, 2012, 03:16 (GMT) |
Attempt to fix scons compilation of blenderplayer. Added bmesh to player libraries and changed the priority of blenlib so as to avoid duplicate definitions (looks like there are actually functions defined twice that cause conflicts if one changes the order of linking...figures). Only tested this on mingw-windows, I hope it works elsewhere too. |
February 22, 2012, 00:06 (GMT) |
Stitch tool fully functional again. Many thanks to Howard Trickey for proposing the loop winding criterion for normal disambiguation of edges. Unfortunately some extra memory has to be allocated for this to work correctly. If the tool had been initially written for bmesh I would have used the already present adjacency information to make it work, avoiding some extra allocations. Maybe a project for another day though, when I am more proficient with bmesh internals. |
February 21, 2012, 19:41 (GMT) |
change UvElement to directly use BMLoop * instead of tfindex. This saves quite some lookups on uv sculpting and stitching. Based on BMESH todo by Campbell, thanks for the idea! |
February 21, 2012, 18:20 (GMT) |
uv stitch static island highlight ported to bmesh system. Unfortunately since we are missing a way to tesselate uvs, the result will look good only on concave faces since we are essentially using a triangle fan to draw. When a tesselation of uv polygons is possible the tool should also change to use that instead. This will also influence the preview drawing code, coming next. |
February 21, 2012, 18:15 (GMT) |
Text fix: Added #blender to list of recommended irc channels. |
February 21, 2012, 17:27 (GMT) |
Remove debug print code. It was harmless because it ifdef-ed, but it's likelly not needed anymore. |
February 21, 2012, 17:24 (GMT) |
Remove unused code left from old multires interpolation stuff - Removed validate() callback for MDisps layer. It wouldn't actually work correct from CustomData layer and all needed data might be validated from BMesh interpolation level. Also this callback was never actually used in BMesh, so can't see why we'll want to have it in structures. - Removed layrInterp_mdisps callback. Interpolation now happens from another level (bmesh_interp) and this callback isn't needed anymore. - Removed all function from multires.c which were used by old interpolation stuff and seems to be useless for other usages. - multires_topology_changed is still marked as a TODO, Probably it's not needed anymore, buy better to keep for now until it'll be 100% clear this function isn't needed and all needed re-allocations happens in bmesh_interp. Otherwise, it'll be needed to be ported to new system. |
February 21, 2012, 17:24 (GMT) |
- Remove unused code in bmesh interpolation module and switch it to using mathutils functions instead of own macros for vectors. - Double precision isn't needed here at all. It only makes it impossible to use mathutils, adds extra float<->double conversions without any benefits. (current multires interpolation is already an approximate method and it can't be improved using double precision) |
February 21, 2012, 17:23 (GMT) |
Improved displacement flipping algorithm to work properly in cases when target grid isn't orthogonal. Subdivision of face now works pretty smooth, only producing minor unwanted displacement on the along edges. |
February 21, 2012, 17:23 (GMT) |
Flip displacement direction after interpolation in bmesh_loop_interp_mdisps This is needed because displacement might been interpolated from a grid with different orientation and in this case X and Y components of displacement are need to be flipped in needed order. Order of flipping is determining by projecting source grids axis orientation on target grid axis. This probably will give some unwanted artifacts when interpolating non-planar face but currently can't think about better way to determine how to flip displacement. This commit makes operators like Subdivide works much more unpredictable for sculpting data, but this stuff should be rethinked much more global because current approach is not acceptable. |
February 21, 2012, 16:34 (GMT) |
Fix part of #30272: cycles preview render not updating when changing particle emission from with instanced objects. |
February 21, 2012, 14:45 (GMT) |
Fix [#30281] Left/Right vertex weights flipped. Mirror modifier was flipping vgroups on org vertices, not mirrored ones! |
February 21, 2012, 14:39 (GMT) |
Fix #30270, #30265: cycles not displaying textured objects, and not rendering text/curve objects after the bmesh merge. Also removed a debug print. |
February 21, 2012, 13:13 (GMT) |
TileBranch * added color spill node. * did some optimizations to the color spill logic |
|
|
|


Master Commits
MiikaHweb | 2003-2021