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-26Fix T81205: Grease pencil material slots don't auto-erase void slots above ↵Antonio Vazquez
the first material
2020-09-22Cleanup: comments, spellingCampbell Barton
2020-09-22Fix warning building without potraceHans Goudey
The library is no longer in extern, so it isn't necessary to include it here.
2020-09-21GPencil: New Trace images using PotraceAntonio Vazquez
This patch adds a new operator to convert a black and white image into grease pencil strokes. If the image is not B/W, an internal conversion is done. This is the first operator using Potrace, but we expect to add more features in next Blender versions. Reviewed By: HooglyBoogly Maniphest Tasks: T79877 Differential Revision: https://developer.blender.org/D8951
2020-09-21Various fixes in UI messages.Bastien Montagne
Along some other typos in comments or variable names.
2020-09-19Cleanup: use parenthesis for if statements in macrosCampbell Barton
2020-09-16Cleanup: spellingCampbell Barton
2020-09-15Cleanup: Remove unneeded parameterNathan Craddock
A parameter was added during development, but it was not needed and was never removed. No functional changes.
2020-09-15UI: Add `icon_only` argument to operator_enumNathan Craddock
Add an option to only draw icons for operator_enum menus. This is used for drawing inline icon buttons in the outliner context menu for collection color tagging. Part of T77408 Differential Revision: https://developer.blender.org/D8880
2020-09-12Cleanup: Remove GLEW dependencies outside of GL moduleClément Foucault
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-09Cleanup: use bool instead of intJacques Lucke
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-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-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-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-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-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-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-20GPUState: Use explicit depth test enumClément Foucault
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-18Cleanup: remove bmain argument from BKE_scene_graph_update_for_newframeJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D8613
2020-08-14Fix T79772: Gpencil. Additive drawing doesn't work when creating fillsAntonio Vazquez
This option was not supported in Fill tool
2020-08-13Cleanup: warningsCampbell Barton
2020-08-13GPencil: Remove unused variable and fix memory leakAntonio Vazquez
This was missing in previous commit
2020-08-12GPencil: Move merge similar materials code to BKEAntonio Vazquez
This is required in other places and need to be shared.
2020-08-11GPencil: Split Primitive operators and add number of points to TopbarAntonio Vazquez
Now the operators are split to define different default values. This is also required for the future Bezier primitive tools. This allows to show in the Topbar the number of subdivisions. Before this value was totally hidden and it was number of Edges. The wheelmouse can be used to override the value while running, but does not change the default value. {F8766270} All operators share same code. Also, fixed some bad practices done with Toolbar in python. Reviewed By: mendio, pepeland Differential Revision: https://developer.blender.org/D8506
2020-08-10GPencil: Fix warning textAntonio Vazquez
2020-08-10GPencil: Invert Filled area pressing Ctrl keyAntonio Vazquez
This feature was suggested in https://blender.community/c/rightclickselect/rggbbc/ When press `Ctrl+LMB`, the filled area is inverted. {F8749306} {F8749307} Filling several areas: {F8759399} Differential Revision: https://developer.blender.org/D8477
2020-08-08Cleanup: use array syntax for sizeof with fixed valuesCampbell Barton
Also order sizeof(..) first to promote other values to size_t.
2020-08-07Cleanup: pass arrays const where possibleCampbell Barton
2020-08-07Cleanup: declare arrays arrays where possibleCampbell Barton
2020-08-07Merge branch 'blender-v2.90-release' into masterJacques Lucke
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2020-08-06GPencil: Fix unreported wrong Polyline bottom tooltipAntonio Vazquez
It was mising the Wheelmouse option and the name of the tool was wrong.
2020-08-06GPencil: Fix unreported wrong Polyline bottom tooltipAntonio Vazquez
It was mising the Wheelmouse option and the name of the tool was wrong.
2020-08-05GPencil: Add Fill option to determine the layers used for boundary strokesAntonio Vazquez
This is a patch suggested in https://blender.community/c/rightclickselect/qggbbc/ The valid values are: * Visible Layers. * Active Layer. * Layer Above active. * Layer Below active. * All layers Above active. * All layers Below active. Differential Revision: https://developer.blender.org/D8474 Some minor UI changes done in the original patch.
2020-08-04Merge branch 'blender-v2.90-release'Bastien Montagne
Conflicts: source/blender/editors/gpencil/gpencil_primitive.c
2020-08-04Cleanup: typos & co in UI messages (and some other places).Bastien Montagne
2020-08-01Cleanup: spelling (initialized)Campbell Barton
2020-08-01Cleanup: use term init instead of initialize/initialiseCampbell Barton
The abbreviation 'init' is brief, unambiguous and already used in thousands of places, also initialize is often accidentally written with British spelling.
2020-08-01Cleanup: spellingCampbell Barton
2020-07-31Merge branch 'blender-v2.90-release'Antonio Vazquez