Blender Git Loki

Blender Git "soc-2017-normal-tools" branch commits.

Page: 2 / 11

March 7, 2018, 14:27 (GMT)
Merge branch 'master' into soc-2017-normal-tools
March 6, 2018, 15:14 (GMT)
Minor cleanup & fixes in seightednormals modifier code.

Did not check code itself in deep yet...
March 6, 2018, 14:58 (GMT)
Fix critical issue with usage of unamed CD_PROP_INT layer.

Those types are generic, specific usages should always use named layers
with a specific 'id name'.

Also, make weightednormals modifier to show edited normals in 3DView in
edit mode.
March 6, 2018, 14:29 (GMT)
More cleanup & co, also make invalid normals checks more coherent.

Checks for invalid normals was rather inconsistent, sometimes even
missing, trying to fix that.
March 6, 2018, 11:20 (GMT)
Try to fix naming of new editnormals ops, and some optimizations.

Some operators were using just 'normals', others 'lopp normals', others
'custom normals'... For now, decided to tick to just 'normals', should
we decide this is too confusing with vnors, I'd rather go to 'custom
normals'.

Also did some cleanup/simplification/optimization in split/merge normals code.
March 5, 2018, 21:01 (GMT)
Heavy refactor of 'Point To' editing normals tools.

Core code remains the same, but UI/UX was quiet deeply changed:
* Some fixes in core code (like missing normalization of new normal in
spherize case), as well as some optimizations (reducing amount of vector
operations per affected normals) and cleanup/simplifications.
* Moving modal part of the op closer to moder 'state of the art' Blender
code, mainly:
** Use a modal keymap instead of hard-coded shortcuts.
** Use of proper header message generator extracting shortcuts from
modal keymap.
** Get rid of odd 'callback' function stuff for 'point to mouse', this
can be handled much more simply directly in main modal function.
** Adding some more keymap shortcuts (to temporarily reset normals, to
toggle invert, aligned and spherize options...).
** Do not immediately finish when selecting 'point to pivot/object/etc.',
keep consistent behavior requiring an explicit validation. This also
makes it possible to cancel after seeing effects of changes, or to try
another option, go back and forth between original and changed versions,
etc.
* Fixed memleak in case one would close Blender while modal op was
running (we need to define cancel operator callback for that case).

Note that we could (should?) go further still, adding ways to edit
spherize strength, even with some numinput. We could also add an option
to handle target value as global (current case) or local coordinates.
And so on. For now that will do though.
March 5, 2018, 21:01 (GMT)
Fix broken UI code after recent refactor.
March 5, 2018, 11:16 (GMT)
Merge branch 'master' into soc-2017-normal-tools
March 2, 2018, 12:52 (GMT)
Cleanup: renaming mostly, plus some const qualifiers etc.
March 2, 2018, 11:31 (GMT)
Merge branch 'master' into soc-2017-normal-tools
March 1, 2018, 16:02 (GMT)
Merge branch 'master' into soc-2017-normal-tools

Conflicts:
source/blender/blenkernel/BKE_mesh.h
March 1, 2018, 15:35 (GMT)
Merge branch 'master' into soc-2017-normal-tools
March 1, 2018, 11:38 (GMT)
More minor cleanup/style editing.
February 28, 2018, 19:33 (GMT)
Cleanup: make static utility functions, try to find some better names.

Naming is always complicated, trying to get something a bit more
coherent, also with already existing clnor struct...
February 28, 2018, 17:19 (GMT)
Simplify/deduplicate code to 'select' loops from faces/verts selection.
February 28, 2018, 16:43 (GMT)
Merge branch 'master' into soc-2017-normal-tools
February 28, 2018, 15:44 (GMT)
Cleanup, remove dead code, do not allocate when not needed...
February 27, 2018, 11:17 (GMT)
Merge branch 'master' into soc-2017-normal-tools
February 23, 2018, 19:36 (GMT)
Cleanup: comments.
February 23, 2018, 19:36 (GMT)
Cleanup: use anonymous enum instead of defines for flags.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021