Age | Commit message (Collapse) | Author |
|
This applies changes from the 3D view circle select to other operators.
|
|
|
|
Match the UI naming (changed since 2.7x).
|
|
The previous value was too high and deform too much if write text.
|
|
Keymap: E - Extrude Gizmo supported.
If the extrude points are the first or last of the stroke, the stroke is extended.
If the extrude points are in the middle of the stroke, a new stroke is created because the grease pencil strokes can be only with 2 extremes and fold the stroke to get a new point gets very bad results.
Still pending define a new icon. Also, it could be good to set by default XYZ axis in the gizmo.
Note: There is a change in the transform_gizmo_extrude_3d.c gizmo for OB_MODE_EDIT_GPENCIL. This change must be undo when the mode will be integrated into OB_MODE_EDIT, but while we have both modes, we need to keep this code in order to keep running the gizmo.
|
|
|
|
There was a conflict between Object "In Front" and how the strokes were managed in Stroke panel for grease pencil datablock.
In order to keep consistency, the order of the object has been moved to Object level and now it's using the standard "In Front" flag. As all it is 3D, the option "Back" has been removed.
This also fixes the problem with task T62137.
Also related to commit 54ffc4e19dc4 and D4405
|
|
Remove code for when edge count is 2.
|
|
When move the mouse/pen very fast, the events were not enough to create smooth strokes.
I have used a simplified version of the same logic used with grease pencil objects to smooth annotations.
|
|
After adding selecction using strokes, the dummy is not required because it was added as a provisional solution while we implement stroke selection.
|
|
|
|
|
|
New edit mode operator and post-processing brush option.
Trim works on a single GP stroke. It removes trailing points before and after the first intersection (or loop) nearest to the start of the stroke.
|
|
Resolves a common cause of confusion.
|
|
|
|
While \file doesn't need an argument, it can't have another doxy
command after it.
|
|
Rename for Camera, View3D (also CameraParams & Render not DNA)
|
|
|
|
|
|
This was introduced by error in a previous commit.
|
|
Also capture event to avoid Move transform.
Note: Now it's using a report message. Maybe this can be removed, but without the message, the event is captured by move transform.
|
|
It's weird to draw in a layer where the stroke cannot be seen or is not saved.
|
|
The poll was checking things related to all annotations, but now the check must be only for grease pencil objects and 3D view.
|
|
|
|
|
|
When the autolock layer option was enabled, the move to new layer operator was not working as expected.
|
|
This change avoids crashes for wrong settings, but we need find why the settings were wrong.
Related to T61413
|
|
|
|
Automatic edits failed for indented comment blocks,
removed indentation & adjusted.
|
|
Move \ingroup onto same line to be more compact and
make it clear the file is in the group.
|
|
Following removal from C source code.
See: 8c68ed6df16d8893
|
|
|
|
Set default eraser with the last eraser used, and remove the toggle button from UI panel.
|
|
Needed for clan-format not to wrap onto one line.
|
|
Was confusing eg: G_AUTOPACK belonged to G.fileflags, G_PICKSEL to G.f.
|
|
Name was part of the header GPL text.
|
|
|
|
Now when remove points from a cyclic stroke, the last island is joined with first island in order to fill the gap of the cyclic.
This change affects not only to cutter, but to any delete process in cyclic strokes.
|
|
BF-admins agree to remove header information that isn't useful,
to reduce noise.
- BEGIN/END license blocks
Developers should add non license comments as separate comment blocks.
No need for separator text.
- Contributors
This is often invalid, outdated or misleading
especially when splitting files.
It's more useful to git-blame to find out who has developed the code.
See P901 for script to perform these edits.
|
|
|
|
Done using:
source/tools/utils_maintenance/c_sort_blocks.py
|
|
|
|
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.
|
|
|