Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
Seriously… Build your code before committing!!!
|
|
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?
|
|
|
|
Fixes T60251.
|
|
|
|
|
|
|
|
When fill a stroke if the fill layer hasn't keyframe, the fill is wrong because previous fill shape hide area to fill.
Now, if the keyframe is missing in the active layer for the current frame, a new frame is added.
|
|
in viewport.
See D4163
Thanks to Habib Gahbiche (@zazizizou) for the fix.
|
|
As the z-depth is calculated using the internal drawing, if we use the front mode the z-depth is wrong. The Front or Back mode must be used only for display, but not for calculation.
|
|
The drawing cache was not set as dirty and drawing engine used old data.
|
|
Use rna naming conventions for unit-settings callbacks.
|
|
Match name of mesh weight paint.
|
|
The offset is only used in Surface mode.
|
|
Caused by rBc7a96651dfa4 when trying to remove all uses of the deprecated `rv3d->gridview`.
|
|
|
|
This operator allows to create a new stroke joining several selected points of different strokes.
The new stroke will use the current material.
To use, first select the points to be merged. Optionally can remove the old points and strokes.
The operator is available in Edit mode in the Specials menu and Stroke menu.
|
|
|
|
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.
|
|
Reviewers: antoniov, brecht
Maniphest Tasks: T59861
Differential Revision: https://developer.blender.org/D4127
|
|
|
|
Also (mostly in comments): behaviour -> behavior (we use American English).
|
|
Also contains some code typo fixes (mostly, adtaptative -> adaptive,
former is nearly innexistant in English, let's stick to simple valid
words ;) ).
|
|
|
|
|
|
|
|
Review of the "D Suzanne to reduce number of points and small changes in shapes and colors.
Designed by Matias Mendiola and Daniel M. Lara
|
|
F-key to change stroke brush size
Fix random bias for jitter
|
|
This code used old factor, but now this only adds complexity and makes code hard to understand.
|
|
Now the link strokes is disabled by default.
Also some minor changes to adapt to new GP object.
|
|
|
|
|
|
This bug was introduced fixing task T59595
|
|
Based on GP team feedback
|
|
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.
|
|
Missing vector calculation.
|
|
|
|
|
|
Previously, the random values were generated every draw, now they are generated once.
|
|
|
|
RMB is used to cancel almost everywhere in blender, not confirm.
|
|
|
|
|
|
|
|
|