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-06-09GPencil: Keep original stroke when reprojectAntonio Vazquez
When reproject a stroke sometimes is good to keep the copy of the original stroke to create volume effects Related to T77639 {F8603513} Reviewed By: mendio, pepeland Maniphest Tasks: T77639 Differential Revision: https://developer.blender.org/D7963 50258
2020-06-08GPencil: Show only first frame if current frame is equals or greater than ↵Antonio Vazquez
current frame Previously, the first frame was displayed from frame 0, but now, the first frame is only displayed when the current frame is equal or greater than the keyframe number. The previous system was logical when the grease pencil was not an object, but now it seems more logical to display the keyframe if the current frame is equal to or greater than the keyframe number. Reviewed By: mendio, pepeland Differential Revision: https://developer.blender.org/D7851
2020-06-06GPencil: Fix unreported fill helper lines not displayedAntonio Vazquez
When use the helper lines (red lines) with fill tool, the lines were not displayed in some situations.
2020-06-05GPencil: Improve Vertex Paint in filled areasAntonio Vazquez
When use the Tint tool, it was very difficult to tint the filled areas if the strokes had very few points or the area was big. Differential Revision: https://developer.blender.org/D7936
2020-06-04Cleanup: remove window manager argument for paint cursor APICampbell Barton
This caused an additional argument when exiting object modes and many other low level functions which don't need to access context. This simplifies fixing T77073.
2020-06-04GPencil: Improve selection in Fill areasAntonio Vazquez
Now when use selection if the selection area is inside a filled area, the stroke is selected. Before it was necessary to select the border of the stroke.
2020-05-30Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-30GPencil: Fix unreported wrong Sculpt brushes initialization in TemplatesAntonio Vazquez
The Sculpt brushes were not properly initialized when use 2D template or other templates. Also, using the default template (not factory settings) could be situations where the brushes were not updated. This problem was introduced when some versioning code was removed in order to avoid duplicated brush creation.
2020-05-27Cleanup: remove unused Main struct from snap contextCampbell Barton
2020-05-26Fix T76522: Grease Pencil transform fill and Adjust Last Operation panel issueAntonio Vazquez
The exec method was totally wrong and also the UI panel was not logic. Also changes to make the transformation smoother and the code more simple. Reviewed By: lichtwerk, mendio Maniphest Tasks: T76522 Differential Revision: https://developer.blender.org/D7741
2020-05-24Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-24Fix T77003: GPencil Paint presets not initializatedAntonio Vazquez
In som ecases, the Paint was not ready when the brushes and palette were created. Now, first the paint is checked.
2020-05-21GPencil: Cleanup macroAntonio Vazquez
2020-05-20GPencil: Create new frame when Erase only if additive drawing is enabledAntonio Vazquez
Differential Revision: https://developer.blender.org/D7804
2020-05-15Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-15GPencil: Fix unreported missing Sculpt/Vertex/Weight paint brushesAntonio Vazquez
This error was introduced wit the change in commit https://developer.blender.org/rB6a850f3cc840 As the brushes were not created, all modes except Edit were broken. Now, the brushes and palette are not created when load the file in versioning code, but when the mode is enabled. Also, if the brush already exist, the parameters are not reset as it was done in the versioning code in order to keep user settings. The same logic is used for the default palette.
2020-05-15GPencil: Fix unreported crash using U key in Draw modeAntonio Vazquez
The problem was the preview could be not available when press the key.
2020-05-14Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-14GPencil: Fix unreported problem filling textured strokesAntonio Vazquez
The internal image used for filling was not correct when the texture was used in stroke and this makes impossible get a right filling.
2020-05-12Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-12Cleanup: tag unused functionCampbell Barton
2020-05-12Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-12Fix T73973: GPencil Fill fails when zoom the imageAntonio Vazquez
The problem was related of how the initial pixel to create outline was detected. Now, a limit is set for any image to keep a fillable image in all situations, not only when some strokes contain the fill.
2020-05-12GPencil: Cleanup wrong ID deleteAntonio Vazquez
Differential Revision: https://developer.blender.org/D7691
2020-05-11Merge branch 'blender-v2.83-release'Philipp Oeser
2020-05-11Fix (unreported) greasepencil crash calling transform_fill from outsidePhilipp Oeser
3DView Operator relies on 3DView, poll for it. Spotted while looking into T76522. Reviewers: antoniov Differential Revision: https://developer.blender.org/D7665
2020-05-11Annotations: Small tooltip changeAntonio Vazquez
2020-05-11Annotations: Add Stabilization for draw toolJuanfran Matheu
This patch adds the stabilizer feature of GP to the annotations. It has a toggle to activate it "Use Stabilizer", and two properties to control the behaviour of the smooth effect (factor and radius). You can also use shift at start or in the air to temporaly use this feature. {F8518283} Differential Revision: https://developer.blender.org/D7648
2020-05-09Cleanup: doxy commentsCampbell Barton
2020-05-09Cleanup: double-spaces in commentsCampbell Barton
2020-05-08Cleanup: clang-formatCampbell Barton
2020-05-08GPencil: Refactor - Rename modifier and shder functionsAntonio Vazquez
This change is to align names with changes in T76498
2020-05-07GPencil: Include new Brush random curvesAntonio Vazquez
Now the brushes have several new random settings and use curves to define the effect. The curves have been moved below the parameter to keep UI standards and extra curve panels have been removed. {F8505387} The new curves are: * Hue. * Saturation. * Value. New option to random at stroke level instead to random at point level for the following values: * Thickness. * Strength. * UV. * Hue. * Saturation. * Value. Curves have been moved below the corresponding parameter and only are displayed in properties panel. Display the curves in the popover made it unusable. {F8505392} Also, the Pressure random has been renamed to Radius because the old name was not clear enough. Reviewed By: mendio, pablovazquez Differential Revision: https://developer.blender.org/D7577
2020-05-06Annotations: Add different arrow styles for line toolJuanfran Matheu
This patch adds different kind of shapes/styles for the line extremes while using the annotation line tool. Current Styles: (following @mendio mockup) - Arrow (closed arrow) - Open Arrow - Segment - Square For future it would be great to have icons, it would be more intuitive (and less space) with previews of what each end / start of line does, like the google slides one as reference: {F8511116} Reviewed By: #grease_pencil, antoniov, HooglyBoogly Differential Revision: https://developer.blender.org/D7608
2020-05-06Merge branch 'blender-v2.83-release'Philipp Oeser
2020-05-06Fix T76416: Armature Deform parenting option doesn't work with Grease Pencil ↵Philipp Oeser
objects If we parent with type `PAR_ARMATURE` (where vertexgroups are already set up and named correctly according to the corresponding bones), we still need an armature modifier. This just wasnt added. In contrast to meshes [which add their armature modifier early in `ED_object_parent_set`], grease pencil used to do this (adding the armature modifier) in `ED_gpencil_add_armature_weights`. Now split ED_gpencil_add_armature_weights in two: - ED_gpencil_add_armature - ED_gpencil_add_armature_weights (which calls ED_gpencil_add_armature) - use ED_gpencil_add_armature for the PAR_ARMATURE case Maniphest Tasks: T76416 Differential Revision: https://developer.blender.org/D7625
2020-05-06Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-06Fix T76470: GPencil sequence interpolate crash when not enough frames in layerAntonio Vazquez
If try to interpolate a layer without an active a next frame, the interpolation failed. Now, check for both frames before start interpolation.
2020-05-06Cleanup: Remove unused parameterAntonio Vazquez
2020-05-06Cleanup: use doxy sectionsCampbell Barton
2020-05-06Cleanup: warningCampbell Barton
2020-05-05Fix T76417: Gpencil Join did not supported weight joinAntonio Vazquez
Now the operator keep the weights of all strokes when joining.
2020-05-04Cleanup: rename mcords to mcoordsCampbell Barton
- 'coords' is an abbreviation for coordinates, not 'cords'. - Rename 'moves' to 'coords_len'.
2020-05-03Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-03GPencil: More changes to improve Chisel brushAntonio Vazquez
More small tweaks to get the right "feeling" when drawing. The defaults has been tested by @pepeland.
2020-05-03Cleanup: remove unused alpha argumentCampbell Barton
2020-05-02Annotations: Remove old unused codeAntonio Vazquez
This code was part of the old grease pencil when annotations was not a separated module.
2020-05-02Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-02GPencil: Improve Market Chisel angle algorithmAntonio Vazquez
With the previous commit, the angle effect was too subtle. Now the effect is more visible,
2020-05-02Merge branch 'blender-v2.83-release'Nathan Craddock