June 27, 2017, 13:08 (GMT) |
Merge branch 'master' into soc-2017-normal-tools Conflicts: source/blender/python/intern/bpy_props.c |
June 23, 2017, 06:05 (GMT) |
Added ability to edit individual normal. Works by using multiple selection modes, so if yo works by using multiple selection modes, so if you select vert then face. Th Works by using multiple selection modes. So, if you select vert then face, only clnor linked with both vert and face will be edited. Has some issues though, as vert + edge selection can be associated to either of 2 clnors. Need to fix. |
June 20, 2017, 17:33 (GMT) |
Added invalidate for transform ops. Can now keep clnors when transform ops are applied. As now invalidation for each function is harder to keep track of, Added a function which rebuilds all the lnor spaces in the mesh when BM_lnorspace_rebuild is called to detect if any unmarked spaces are rebuilt. |
June 19, 2017, 05:41 (GMT) |
Merge branch 'master' into soc-2017-normal-tools |
June 19, 2017, 05:30 (GMT) |
Added normals to follow mouse location. Now M key can be used after ALT - L to have clnors point to mouse location. |
June 15, 2017, 14:57 (GMT) |
Added point to origin and LMB click |
June 13, 2017, 06:04 (GMT) |
Fixed issues with Point Normals. Added header, fixed bugs and logic errors in point normals to target. Target location is now editable from UI. Also renamed 'bmspacearr' to 'lnor_spacearr' |
June 12, 2017, 07:32 (GMT) |
Remove support of lnorspacearray in editmesh undo/redo, fix memleak. Supporting lnorspacearray in undo/redo would require a deep copy of lnor spaces, not only a shallow copy of top struct. And it would eat a fair amount of memory, think we'd rather recompute those on undo for now! Also, fixed memory leaked by not correctly freeing lnorspace array on BMesh deletion. |
June 12, 2017, 07:22 (GMT) |
Do not include BKE_mesh.h in bmesh_class.h We absolutely avoid such include unless totally mandatory, here we can simply keep lnorspaces array a pointer in BMesh struct, and allocate it on demand. Also, was breaking bmesh tests building. Note: this totally breaks undo/redo, but previous code was utterly wrong here as well (shallow copy of lnorspaces, ending up sharing whole internal memory -> crash garanteed ;) ). Think we can skip that struct for undo/redo for now at least, we can rebuild it in those cases imho... |
June 12, 2017, 06:52 (GMT) |
Merge branch 'master' into soc-2017-normal-tools |
June 11, 2017, 17:51 (GMT) |
Added point normals to target. Moved common loop functions and made changes to structure |
June 6, 2017, 05:30 (GMT) |
Added ability to rotate custom normal |
June 2, 2017, 06:16 (GMT) |
Added clnor invalidate for all BMOps |
June 1, 2017, 05:30 (GMT) |
Cached lnorspace array and added dirty Mechanic |
|