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-11-06Cleanup: use ELEM macroCampbell Barton
2020-11-04Annotations: Set as visible when use the annotation toolAntonio Vazquez
If the annotation draw operator is used, enable the annotations in the current area. Before this change, some editors had the annotation flag set to OFF, but this could be solved with a versioning code, but this did not solve the root problem. The user can disable annotation visibility in the overlay or side panel, depending on the editor. If the user uses the annotation tool and this flag is OFF, the annotation is not visible, and this is not correct. With this patch, every time the user uses the tool, the annotation visibility flag is set to ON to ensure the annotation is visible. This solves the problem of T82273, T79578 and T80294 Maniphest Tasks: T82273 Differential Revision: https://developer.blender.org/D9409
2020-11-03Merge branch 'blender-v2.91-release'Antonio Vazquez
2020-11-03Fix T82356: Gpencil merge freezes BlenderAntonio Vazquez
The `gps_next` variable had a typo error and was wrongly used as `gps->next`
2020-11-02Fix T77819: Snap Incremental does not match grid in all casesGermano Cavalcante
The behavior of the incremental snap did not take into account the relative dimensions of the window, which resulted in a different behavior if the area height was greater than the width.
2020-10-31GPencil: Change maximum limit of Join strokeAntonio Vazquez
Also, clarify comments.
2020-10-31Merge branch 'blender-v2.91-release'Antonio Vazquez
2020-10-31Fix T82265: GPencil interpolate crash when next frame was NULLAntonio Vazquez
If the next frame of the layer was NULL and it was not the active layer crashed.
2020-10-30GPencil: Fix compiler warningsAntonio Vazquez
These warnings were not vivible in MSVSC
2020-10-29GPencil: Improve join operatorAntonio Vazquez
Now the strokes join the points near, not always end with start. Differential Revision: https://developer.blender.org/D9359
2020-10-29GPencil: Add interpolate operators in Draw modeAntonio Vazquez
Now the interpolate is available in draw mode (except the option of selected strokes). Differential Revision: https://developer.blender.org/D9325
2020-10-29Cleanup: spellingCampbell Barton
2020-10-28GPencil: Change trace tooltip for ThresholdAntonio Vazquez
2020-10-28GPencil: Change Trace tooltipsAntonio Vazquez
2020-10-28GPencil: New support to trace sequence imagesAntonio Vazquez
Now it's possible to trace a sequence of images and not just a single one When the trace is for more than one image, a bacth job is started to process all frames. Note: All trace data is generated by Potrace library. Differential revision: https://developer.blender.org/D9316
2020-10-27Merge branch 'blender-v2.91-release'Antonio Vazquez
2020-10-27GPencil: Fix unreported Fill when use boundary and Visble layersAntonio Vazquez
The new option to filter the layers used by the Fill tool was not using the boundary strokes. The problem was the layers were skipped and any boundary stroke was not used. Now, the layer is not skipped, but the strokes that are not boundary are skipped.
2020-10-24UI: Capitalization CorrectionsYevgeny Makarov
Approximately 141 changes of capitalization to conform to MLA title style. Differential Revision: https://developer.blender.org/D8392 Reviewed by Julian Eisel
2020-10-23GPencil: Minor changes in parameter orderAntonio Vazquez
This is related to D9330
2020-10-23GPencil: Remove unneeded python for calling Bake AnimationAntonio Vazquez
The operator was using a secondary python operator to ask parameters before running, but this can be done in invoke. Differential Revision: https://developer.blender.org/D9330
2020-10-22GPencil: Add new parameter to set caps in CutterAntonio Vazquez
The new parameter allows to define if after cutting the stroke the cap of the cut side will be set as flat. Before, the cap shape of the cut side always was equal to the original stroke, and in some situations, the rounded cap was visible. Note: If the angle of the join is very extreme, it's still possible to view some sections of the cut stroke.,
2020-10-22Merge branch 'blender-v2.91-release'Antonio Vazquez
2020-10-22GPencil: Fix unreported mistake in material index for trace imagensAntonio Vazquez
The material index was not used and only worked with new objects.
2020-10-21GPencil: Bake mesh animation for selected keyframes onlyAntonio Vazquez
This new option allows to bake the animation of the selected frames and not the full range of keyframes.
2020-10-21GPencil: Fix unreported problem with strokes bounding box that makes ↵Antonio Vazquez
impossible sculpt When the stroke was not flat, the bounding box projected could not be right and the strokes could not be painted or sculpted. Now, the 2D bounding box is calculated using the extremes of the 2D bounding box and not the original 3D min and max values.
2020-10-20Cleanup: use BLI_listbase_is_single instead of countingCampbell Barton
2020-10-14Cleanup: multi-line comment blocksCampbell Barton
2020-10-10Cleanup: use C comments for descriptive textCampbell Barton
Follow our code style guide by using C-comments for text descriptions.
2020-10-07Fix T81490: GPencil merge layer duplicated all strokesAntonio Vazquez
There was a wrong duplication of all strokes and this accumulated all previous data for each frame. Also a cleanup has been done in order to clarify what means each variable.
2020-09-30Cleanup: convert gforge task ID's to phabricator formatValentin
Cleanup old tracker task format to the new. e.g: [#34039] to T34039 Ref D8718
2020-09-30Cleanup: sort struct declarationsCampbell Barton
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