Age | Commit message (Collapse) | Author |
|
|
|
When cut a stroke, the cyclic must be set to off because keep it gets very weird results.
|
|
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.
|
|
|
|
|
|
The UV was not calculated for second point (1), only first and > 1
|
|
The data was not caculated when complete a primitive and it was only updated when use Edit mode.
|
|
There were some issues when copy the weights and other memory leaks.
Also some code cleanup.
|
|
|
|
unweightable points
|
|
|
|
Reported by @pepeland.
Adding missing events on the first point was breaking the guide behaviour.
Also, updated Ckey so it always defaults to Circular mode when guides are off.
|
|
The materials were not created when used the active layer option of the separate operator.
|
|
|
|
Without this clang-format may wrap them onto a single line.
|
|
Prevents clang-format wrapping text before comments.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|