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
2019-01-25GP: Use Fill color when drawing strokes for no stroke materialsAntonioya
Artists requested to show the stroke while drawing a new stroke using a material with fill color only, because it's very difficult to see the stroke. Now the stroke shows always but using the fill color, not the stroke color because maybe is not set.
2019-01-22GP: Fix UV error for second pointAntonioya
The UV was not calculated for second point (1), only first and > 1
2019-01-22GP: Recalc UV data for primitive strokesAntonioya
The data was not caculated when complete a primitive and it was only updated when use Edit mode.
2019-01-15Cleanup: styleCampbell Barton
2019-01-14Cleanup: unused functionCampbell Barton
2019-01-11GP: New Cutter, Constraints and Segment selectionAntonioya
This commit groups a set of new tools that were tested in grease pencil object branch before moving to master. We decide to do all the development in a separated branch because it could break master during days or weeks before the new tools were ready to deploy. The commit includes: - New Cutter tool to trim strokes and help cleaning up drawings. - New set of constraints and guides to draw different types of shapes. All the credits for this development goes to Charlie Jolly (@charlie), thanks for your help! - Segment selection mode to select strokes between intersections. - New operator to change strokes cap mode. - New option to display only keyframed frames. This option is very important when fill strokes with color. - Multiple small fixes and tweaks. Thanks to @pepeland and @mendio for their ideas, tests, reviews and support. Note: Still pending the final icons for Cutter in Toolbar and Segment Selection in Topbar. @billreynish could help us here?
2018-12-28GP: Rename GP_STROKE_RECALC_CACHE to GP_STROKE_RECALC_GEOMETRYAntonioya
The GP_STROKE_RECALC_CACHE identifier was changed to GP_STROKE_RECALC_GEOMETRY because the previous name was confusing and could be confused with the recalculation of the Draw Manager cache.
2018-12-23GP: Small changes to help textAntonioya
2018-12-23GP: Add Shift+F to define strength for primitivesAntonioya
2018-12-23Fix T59782: Replace RMB by MMB in bottom help textAntonioya
2018-12-21GP: Primitive: Changes from gp branchCharlie Jolly
F-key to change stroke brush size Fix random bias for jitter
2018-12-20Cleanup: argument wrapping indentationCampbell Barton
2018-12-19GP: Fix error drawing on Camera view for Surface/StrokeAntonioya
This bug was introduced fixing task T59595
2018-12-19GP: Primitive: Add MMB to confirmCharlie Jolly
Based on GP team feedback
2018-12-19Fix T59595: Grease Pencil and CameraViewAntonioya
The perspective effect deformed the stroke. Now when you are in camera view and the lock axis is not enabled, the stroke is reprojected flat over the view to remove any deformation. Also fixed reproject operator to use the origin set in topbar and not cursor 3D always.
2018-12-19GP: Primitive: Fix jitterCharlie Jolly
Missing vector calculation.
2018-12-19GP: Primitive: Add RMB behaviour to Grab/MoveCharlie Jolly
2018-12-18GP: Primitive: Fix flickering when using a noise brushCharlie Jolly
Previously, the random values were generated every draw, now they are generated once.
2018-12-18Fix T59548: Grease Pencil Primitives ignore the 'draw below' optionAntonioya
2018-12-18GPencil: Cancel w/ RMB clickCampbell Barton
RMB is used to cancel almost everywhere in blender, not confirm.
2018-12-17GP: Change Primitive manipulator to secondary Gizmo colorAntonioya
2018-12-17GP: Change Primitive manipulator colorAntonioya
2018-12-17Fix T59483: Grease Pencil Additive Drawing mode doesn't work with shapesAntonioya
2018-12-16Cleanup: styleCampbell Barton
2018-12-16Fix string formatting, fall through attrCampbell Barton
2018-12-15GP: New Curve primitive and other primitive improvementsAntonioya
This commit adds support for new curve tool and adds more functionalities to the existing primitives, including new handles, editing, stroke thickness curve, noise, preview of the real stroke, etc. Thanks to @charlie for his great contribution to this improvement.
2018-12-07GP: Refactor coordinates to floatCharlie Jolly
See: D4030 Differential Revision: https://developer.blender.org/D4036
2018-12-07Depsgraph: Remove duplicated sets of recalc/update flagsSergey Sharybin
There were at least three copies of those: - OB_RECALC* family of flags, which are rudiment of an old dependency graph system. - PSYS_RECALC* which were used by old dependency graph system as a separate set since the graph itself did not handle particle systems. - DEG_TAG_* which was used to tag IDs. Now there is a single set, which defines what can be tagged and queried for an update. It also has some aggregate flags to make queries simpler. Lets once and for all solve the madness of those flags, stick to a single set, which will not overlap with anything or require any extra conversion. Technically, shouldn't be measurable user difference, but some of the agregate flags for few dependency graph components did change. Fixes T58632: Particle don't update rotation settings
2018-12-05GP: Fix precision issue with Circle and Arc toolsCharlie Jolly
Differential Revision: https://developer.blender.org/D4030
2018-12-04Cleanup: unused argsCampbell Barton
2018-12-04GP: Draw Mode: Add Arc PrimitiveCharlie Jolly
This adds an elliptical arc primitive. Press CKEY for toggling closed/open arc. Press FKEY key for flipping arc. Additional changes to gpencil primitives. Increases default edges of circle to 64. Keymap changes to allow primitives to be drawn with Shift or Alt key. Allow Plus/Minus key to adjust number of edges. Missing: Toolbar icon Differential Revision: https://developer.blender.org/D4024
2018-12-03Cleanup: warning, styleCampbell Barton
2018-12-02GP: Fix line primitive when using to square behaviourCharlie Jolly
Previously the shift key for line primitives only allowed diagonals. This change allows the line to constrain to vertical and horizontal lines. Differential Revision: https://developer.blender.org/D4012
2018-11-29GP: Add option to draw primatives from centerCharlie Jolly
This allows primatives to be drawn from the center using the ALT key. Also fixes SHIFT constraint not working correctly in all directions. Both options can be used together. Differential Revision: https://developer.blender.org/D4009
2018-11-263D View: remove 3D cursorCampbell Barton
Use 3D cursor from the scene (was previously used for local-view).
2018-11-13GP: Fix wrong fill texture when draw primitivesAntonioya
2018-11-12Cleanup: minor gpencil changesCampbell Barton
- Replace BKE_brush_getactive_gpencil -> BKE_paint_brush (no need for per-paint-type brush access). - Rename TOT_GP_EDITBRUSH_TYPES -> GP_EDITBRUSH_TYPE_MAX (avoid sharing prefix w/ unrelated constants). - Rename instances of `GP_EditBrush_Data` to 'gp_brush' (`Brush` is typically called 'brush').
2018-11-10Cleanup: styleCampbell Barton
2018-11-09Tool System: add grease pencil primitive toolCampbell Barton
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-05Paint: add BKE_paint_ensure to initialize toolsettingsCampbell Barton
Each mode had its own logic for initializing paint structs, move to a single function. Also remove "BKE_brush_get_gpencil_paint", entering grease pencil mode is responsible for ensuring the data is created.
2018-11-04GP: Reorganize Canvas GridAntonioya
Now the grid is always controlled by the topbar selector and not in the canvas panel. To have two places to define orientation was confuse. The orientation by default (no lock) is always to view plane.
2018-09-30GP: The primitive line must not enable cyclic modeAntonioya
2018-09-27Merge branch 'master' into blender2.8Brecht Van Lommel
2018-08-30GP: Add weights while drawing strokesAntonioya
Now it's possible to add the weight of the current selected vertex group to any new stroke created. This is very handy when add drawings after the weight paint was done and it will be required with Armatures.
2018-08-28GP: Revert replace custom function by standard APIAntonioya
Using custom api breaks material at object level
2018-08-28GP: Replace custom function by standard APIAntonioya
Replace BKE_gpencil_get_material_index by BKE_object_material_slot_find_index
2018-08-26GP: Reduce weight paint data memory footprintAntonioya
Before, the weight data array was created always, but now only is added when a weight value is assigned. This change was suggested by algorithm, and both agreed it was good idea.
2018-08-08Fix T56220: Adding Grease Object crashes if link Material is set to ObjectAntonioya
2018-07-31Cleanup: style, duplicate includesCampbell Barton