Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-12Merge branch 'greasepencil-edit-curve' into soc-2020-greasepencil-curvesoc-2020-greasepencil-curveFalk David
2020-09-12Merge branch 'master' into greasepencil-edit-curveFalk David
2020-09-12Merge branch 'greasepencil-edit-curve' into soc-2020-greasepencil-curveFalk David
2020-09-10Fix T80191: GPencil - Improve Mesh conversionAntonio Vazquez
There were some problems when converted several objects at the same time, especially with the material conversion. The problems were more visible when bake an animation with several objects at the same time. * Now the layer name include the object name. * Reorganize how the materials are generated including object name. * Fix color not converted to sRGB. * Avoid triangles when generate the stroke. This fix a draw manager issue and also add more geometry to use later. * Code cleanup.
2020-09-10GPencil: Fix unreported Eraser Point problem for one point selectedAntonio Vazquez
The Eraser Point mode was erasing too much points. This eraser existed before the new Soft erasers were created and now it was working wrongly. The eraser point mode must remove the points below the eraser cursor at the first contact. For more soft erasers, the new Soft modes can be used.
2020-09-10Cleanup: spellingCampbell Barton
2020-09-09Cleanup: reduce variable scopeJacques Lucke
2020-09-09Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
2020-09-09Cleanup: use bool instead of intJacques Lucke
2020-09-07Merge branch 'greasepencil-edit-curve' into soc-2020-greasepencil-curveFalk David
2020-09-05Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
Conflicts: source/blender/blenkernel/BKE_gpencil_geom.h
2020-09-04GPencil: New option to set steps in Interpolate SequenceAntonio Vazquez
Sometimes interpolate all frames is not convenient and it's better, for example, interpolate in twos. The new parameter allows to define the number of frame for each step, by default is set to 1 as before. {F8812621} This is a request of animators to improve interpolate tools. Reviewed By: mendio Maniphest Tasks: T80190 Differential Revision: https://developer.blender.org/D8723 239b0b
2020-09-03Fix copy/paste error in Grease Pencil Draw operator tooltipJulian Eisel
Also remove capitalization of the term "object".
2020-09-03Merge branch 'greasepencil-edit-curve' into soc-2020-greasepencil-curveFalk David
2020-09-03Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
2020-09-03Fix T63125: Gpencil: bones cannot be selected in weightpaint modePhilipp Oeser
Some underlying functionality was not ready for greasepencil: - BKE_modifiers_get_virtual_modifierlist (now introduce dedicated BKE_gpencil_modifiers_get_virtual_modifierlist) - BKE_modifiers_is_deformed_by_armature - checks in drawing code - checks in (pose) selection code A couple of changes to make this work: - `eGpencilModifierType_Armature` has to be respected (not only `eModifierType_Armature`) - `OB_MODE_WEIGHT_GPENCIL` has to be respected (not only `OB_MODE_WEIGHT_PAINT`) -- (now use new `OB_MODE_ALL_WEIGHT_PAINT`) - `gpencil_weightmode_toggle_exec` now shares functionality from `wpaint_mode_toggle_exec` -- moved to new `ED_object_posemode_set_for_weight_paint` This patch will also set the context member "weight_paint_object" for greasepencil (otherwise some appropriate pose operators wont work when in weightpaint mode) Reviewed By: campbellbarton Maniphest Tasks: T63125 Differential Revision: https://developer.blender.org/D8483
2020-09-03Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
2020-09-02Cleanup: use bool instead of int in various placesJacques Lucke
2020-09-01Fix (unreported) GPencil cannot deselect points with box/lasso selectPhilipp Oeser
Selecting in empty space wasnt considered as 'changed'. Differential Revision: https://developer.blender.org/D8770
2020-08-30GPencil: Implement duplicate for curve pointsFalk David
Implement the duplicate operator for curve points.
2020-08-28Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
Conflicts: source/blender/blenloader/intern/writefile.c
2020-08-26GPencil: Fix Assert using fill toolAntonio Vazquez
With the new changes in the Draw Manager, GPU_depth_mask must be set to ON, before clear depth.
2020-08-25GPencil: Fix circle select curve conversionFalk David
2020-08-25GPencil: Convert to curve on selectionFalk David
Conversion to curve was only working for click slection. This commit adds conversion to curve to box, circle and lasso selection.
2020-08-25Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
2020-08-25Fix T80077: Objects disappear when joining with a zero scaled axisCampbell Barton
Use invert_m4_m4_safe_ortho when joining objects so zero scaled axis doesn't cause all points to be scaled to zero. Instead geometry is left un-scaled on degenerate axes. Report a warning in this case since users may want to adjust the active objects scale.
2020-08-24GPencil: Cleanup compiler warningsAntonio Vazquez
2020-08-24Merge branch 'greasepencil-edit-curve' into soc-2020-greasepencil-curveFalk David
2020-08-24GPencil: Fix crash when delete strokeAntonio Vazquez
The memory of the stroke is not avaliable after calling `BKE_gpencil_free_stroke` and cannot free the link. Instead, before calling the free function, remove the link of the listbase.
2020-08-24GPencil: Handle strokes with one or two pointsFalk David
Generating the curve for a stroke with one or two strokes could crash because it was not handled properly.
2020-08-23Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
2020-08-23Cleanup: GPU: Use explicit clear value in GPU_clear* commandsClément Foucault
This replace `GPU_clear()` by `GPU_clear_color()` and `GPU_clear_depth()`. Since we always set the clear value before clearing, it is unecessary to track the clear color state. Moreover, it makes it clearer what we clear the framebuffer to.
2020-08-22Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
2020-08-21Fix T79987: Crash when joining objectsJulian Eisel
Mistake in b077de086e14. I did the same fix for a few operators there, but missed the object "Join" one. The joining operator changes the layer content. So it must send a notifier for that. Before b077de086e14 that didn't cause a noticeable issue, because the Outliner happened to listen to other notifiers (active/selection changes) the operator sent and fully rebuilt its tree in response. Now missing these notifiers can be more problematic, since we try to avoid more rebuilds. Added comments to the notifier types to avoid at least this pitfall.
2020-08-21GPencil: Report operators that are not implementedFalk David
2020-08-21GPencil: Remove unessesary curve edit mode testFalk David
2020-08-21Merge branch 'greasepencil-edit-curve' into soc-2020-greasepencil-curveFalk David
2020-08-21Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
2020-08-20GPUState: Use explicit depth test enumClément Foucault
2020-08-20GSoC Editing Grease Pencil Strokes Using CurvesFalk David
This patch includes all the changes made in the soc-2020-greasepencil-curve branch. Major changes: * Add a new "sub-mode" to grease pencil edit mode called "curve edit mode". * Grease pencil stroke data structure has a pointer to a grease pencil curve. It will be saved with the stroke to the blend file. * Most edit mode operators have been changed to work in curve edit mode. * Transformation code has been adjusted to work for grease pencil curves. * New source file added (gpencil_edit_curve.c) for operators exclusive to curve edit mode. Differential Revision: https://developer.blender.org/D8660
2020-08-20GPencil: Skip unused code with macroFalk David
2020-08-20GPencil: Add corner angle parameterFalk David
2020-08-19Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
2020-08-18Cleanup: GPUState: remove double GPU_blend callsClément Foucault
2020-08-18GPUState: GPU_blend final API renamingClément Foucault
We now use GPU_blend for enabling / disabling blending and explicitly set the blend equation.
2020-08-18Cleanup: GPUState: Replace blend func separate by enumClément Foucault
2020-08-18Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
Conflicts: source/blender/editors/gpencil/gpencil_edit.c
2020-08-18Cleanup: remove bmain argument from BKE_scene_graph_update_for_newframeJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D8613
2020-08-15Merge branch 'greasepencil-edit-curve' into soc-2020-greasepencil-curveFalk David
2020-08-15GPencil: Add corner angle parameterFalk David
This parameter allows the user to control at what angle corners are detected and considered by the fitting algorithm.