Revision 2ac968c by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) March 6, 2018, 14:45 (GMT) |
Merge branch 'blender2.8' into greasepencil-object |
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. |
Revision e437bab by Stefan Werner (cycles_texture_cache, cycles_unbiased_volumes, upstream_cycles_texture_cache) March 6, 2018, 13:49 (GMT) |
Cycles: Added NULL pointer check |
Revision 101b248 by Stefan Werner (cycles_texture_cache, cycles_unbiased_volumes, upstream_cycles_texture_cache) March 6, 2018, 13:49 (GMT) |
Merge branch 'master' of git.blender.org:blender into cycles_texture_cache |
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. |
Revision 6901b72 by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) March 5, 2018, 14:52 (GMT) |
Merge branch 'blender2.8' into greasepencil-object |
Revision 7d9427a by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) March 5, 2018, 14:51 (GMT) |
Prepare eraser icon to use different images The code is ready to change the icon for each type of eraser, but as it's not decided yet, we keep the same image in all of them while we decide new design. |
March 5, 2018, 11:16 (GMT) |
Merge branch 'master' into soc-2017-normal-tools |
Revision 3c28f6f by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) March 4, 2018, 15:13 (GMT) |
Move mode type check before set mode The mode must be verified for this object type before apply new mode. |
Revision 1010b75 by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) March 4, 2018, 12:52 (GMT) |
More changes in object mode switch The outliner does not need special code. Mode change still need more work, because in some situations, still the old mode remains activated. |
Revision 7c466e1 by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) March 3, 2018, 15:52 (GMT) |
UI: Move brush mode to separated panel This option has been moved to a separated panel because is too disruptive to have in the main brush panel. Maybe in the future must be moved to new location, but we put here while we found a better place. |
Revision 629a5df by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) March 3, 2018, 15:18 (GMT) |
UI: Change Pin icon location |
Revision d6a25d6 by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) March 3, 2018, 15:08 (GMT) |
Fix error using different eraser modes If the bursh was eraser, the brush was not using the eraser mode. |
March 3, 2018, 14:35 (GMT) |
fix legacy wturbulence windows will not compile with issue - only warning on linux |
Revision abbcf11 by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) March 3, 2018, 10:38 (GMT) |
UI: Define pin icon for default eraser Using pin button keep UI consistency better than a checkbox. |
Revision 34296ab by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) March 3, 2018, 09:55 (GMT) |
Merge branch 'blender2.8' into greasepencil-object |
Revision 9321612 by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) March 3, 2018, 09:51 (GMT) |
Avoid drawing with Eraser brush If the current brush is eraser and try to draw, cancel the operator. This could be activated with the D key and must be forbidden. |
Revision 16e0f2f by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) March 3, 2018, 09:39 (GMT) |
Implement brush eraser quick switch This eraser switch works very similar to smooth sculpt brush in object sculpt mode. When the user press Ctrl, the current drawing brush is replaced by the default eraser brush while hold the key. After release the override key, the brush back to the drawing brush. |
|