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-04-30GPencil: Add material selector to context menusAntonio Vazquez
Now it's possible to select the material in context menu and new menu to select material. The patch and workflow has been tested in greasepencil-object branch. * New Material selector in Draw mode Context menu: {F8499259} * Pressing `U`key in Draw mode display material menu. {F8503224} Reviewed By: mendio, pepeland Differential Revision: https://developer.blender.org/D7554
2020-04-25GPencil: Fix unreported small offset when use Stroke modeAntonio Vazquez
When using the Stroke mode, the reprojection function add a small offset of 0.5 to +X and +Y. Now this effect is removed subtracting this value before doing the conversion.
2020-04-25GPencil: Fix unreported jagged lines when using Stroke modeAntonio Vazquez
When use the Stroke reproject mode, the precission of the conversion makes the line produce a very small noise effect. Now, if the stroke mode is enabled, a small smooth is done using a factor depending of the input samples. The values of the smooth effect were provided by @pepeland after several testing.
2020-04-25Fix T76078: GPencil: frames interpolation erase strokesAntonio Vazquez
In some situations the stroke could be tagged and this tag was used to delete the interpolated strokes. Now, the frames used as interpolated range are untagged before creating the interpolated strokes.
2020-04-20Various typos fixes in UI messages.Bastien Montagne
2020-04-17Fix T75811: GPencil Sculpt not working when use SubdivideAntonio Vazquez
When use the subdivide modifier the number of points was not correct and can produce segment faults. Also, the points were selected by default and this was wrong.
2020-04-17GPencil: Add always empty frame when add new layerAntonio Vazquez
The dopesheet needs to have a frame to display the channel, so an empty frame is created in the current frame. See T66505 for details of why an empty channel cannot be displayed.
2020-04-13Fix T75677: Annotation in compositor/shading tabs loose AA after drawing strokeAntonio Vazquez
The drawing of annotations in 2D was using a very old code created in 2.6x versions. Now it's using a standard shader as it's done while drawing.
2020-04-09Cleanup: Fix typo errorAntonio Vazquez
2020-04-07GPencil: Fix unreported problems with Chisel brushAntonio Vazquez
With the new sampling, the arc points were not using the angle of the brush and the line was with the same thickness in all orientations.
2020-04-03Code Quality: Replace for loops with LISTBASE_FOREACHDalai Felinto
Note this only changes cases where the variable was declared inside the for loop. To handle it outside as well is a different challenge. Differential Revision: https://developer.blender.org/D7320
2020-04-03Cleanup: Animation, move AnimData API to `anim_data.c`/`BKE_anim_data.h`Sybren A. Stüvel
The `BKE_animsys.h` and `anim_sys.c` files already had a an "AnimData API" section. The code in that section has now been split off, and placed into `BKE_anim_data.h` and `anim_data.c`. All files that used to include `BKE_animsys.h` have been adjusted to only include the animation headers they need (sometimes none). No functional changes.
2020-04-03Cleanup: Rename bScreen variables from sc/scr to screenJulian Eisel
Part of T74432. Mostly a careful batch rename but had to do few smaller fixes. Also ran clang-format on affected files.
2020-04-03Cleanup: Rename ScrArea variables from sa to areaJulian Eisel
Follow up of b2ee1770d4c3 and 10c2254d412d, part of T74432. Now the area and region naming conventions should be less confusing. Mostly a careful batch rename but had to do few smaller fixes. Also ran clang-format on affected files.
2020-04-03Fix T75250: setting greasepencil active layer not refreshing the dopesheetPhilipp Oeser
This was only reported for the 'Change Active Layer' operator [which was not setting the channel as selected in the dopesheet], but this is also the case elsewhere [where BKE_gpencil_layer_active_set is used], namely: - gp_layer_remove_exec - gp_layer_copy_exec - gp_merge_layer_exec - gp_layer_change_exec - gp_layer_active_exec - gp_stroke_separate_exec We could set GP_LAYER_SELECT "by hand" in BKE_gpencil_layer_active_set(), but there is already animchan_sync_gplayer() that does that. For this, we need the NA_SELECTED notifier though. Maniphest Tasks: T75250 Differential Revision: https://developer.blender.org/D7311
2020-04-03Cleanup: spellingCampbell Barton
2020-04-01Fix T75283: GPencil Stroke created by `Merge points` can't have fill materialAntonio Vazquez
2020-04-01Fix T75271: GPencil Segment select mode doesn't workAntonio Vazquez
The selection was workring with the evaluated data, but need work with the original data.
2020-03-31Fix T75219: Move to New Layer not workingAntonio Vazquez
This was an old design problem.
2020-03-29Cleanup: spelling, commentsCampbell Barton
2020-03-28Fix T75161: Random UV doesn´t work with fats drawingAntonio Vazquez
Also fixed T75162
2020-03-28Cleanup: compiler warningsBrecht Van Lommel
2020-03-27GPencil: More cleanups missing in previous commitAntonio Vazquez
2020-03-27GPencil: Cleanup of unused code a argumentsAntonio Vazquez
2020-03-27CPencil: Cleanup unused fill codeAntonio Vazquez
This is now replaced by draw engine and annotations don't use fill.
2020-03-27Cleanup: add iterator macros to clang-formatCampbell Barton
Also rename START to BEGIN (matching BEGIN/END for most iterator macros).
2020-03-26Fix T75093: GPencil eraser selection in draw mode erase previous selected pointsAntonio Vazquez
The selection in Draw mode works as a quick eraser and must erase only the points selected in that operation and not any previous selected point. Now, before erase, unselect any previous selected point. Note: It's planned to split select & erase operators for Draw mode.
2020-03-26Fix crashes from various missing checks in operator poll functionsCampbell Barton
Issues exposed by 'bl_run_operators.py' utility.
2020-03-24GPencil: Cleanup previous commitAntonio Vazquez
2020-03-24GPencil: Add blank frame when add layer in DopesheetAntonio Vazquez
When use the dopesheet add layer operator a new blank frame is created. It's very strange to create a layer and don't see anything in dopesheet. If the layer is added in properties, the frame is not created. Reviewed by: @pepeland @mendio
2020-03-19Cleanup: fix typos in commentsBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D7133
2020-03-19Fix T74915: Gpencil Tweak tool does not add point to selection holding ShiftAntonio Vazquez
2020-03-19GPencil: Cleanup - Split BKE_gpencil.h geometry functions into ↵Antonio Vazquez
BKE_gpencil_geom.h This split prepare the code for future geometry functions.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-18Fix T74837: GPencil: Mirror over first selected marker crashesPhilipp Oeser
'mirror_gpf_marker()' needs a NULL bGPDframe for initialization [but still requires a scene to get the marker]. Maniphest Tasks: T74837 Differential Revision: https://developer.blender.org/D7166
2020-03-18Cleanup: Resolve HKEY conflictRay Molenkamp
Both the MS headers and blender headers define the HKEY which gives all kind of inclusion order issues. This diff renames all *KEY constants to EVT_*KEY to resolve this conflict. Reviewed By: brecht , dfelinto Differential Revision: http://developer.blender.org/D7164
2020-03-17GPencil: Fix crash joining objectsAntonio Vazquez
The weights array can be NULL.
2020-03-17GPencil: Rename old color operators to materialAntonio Vazquez
The color was used in old version when palettes were used, but now all are materials
2020-03-17GPencil: Fix Parent layer not workingAntonio Vazquez
The parenting was using the old logic, but with new engine the draw is done using eval data. Fixed the depsgraph relationship missing with bones to get an update when the bone is transformed. Also fixed Snap cursor to Selected
2020-03-17Cleanup: rename 'centre' to 'center' in View3DCampbell Barton
2020-03-15GPencil: Reduce factor to 5 in previous commitAntonio Vazquez
10 decimals is too high
2020-03-15GPencil: Remove Keep parameter from Select Vertex ColorAntonio Vazquez
Also changed range of threshold from 0 to 10
2020-03-15Cleanup: shadow warning, clang-formatCampbell Barton
2020-03-14GPencil: Change Select Vertex Color to similar selectionAntonio Vazquez
Now, instead to use the Brush color as selection patron, now it uses any previous selected color.
2020-03-14GPencil: Add option to keep selected in Select Vertex ColorAntonio Vazquez
2020-03-14GPencil: Use Linear color instead of sRGB for Select Vertex ColorAntonio Vazquez
The brush color is sRGB but the Vertex Color is linear.
2020-03-14GPencil: Rename operator select_color to select_vertex_colorAntonio Vazquez
2020-03-14GPencil: Rename operator color_select to select_materialAntonio Vazquez
The old name was related to the old palettes.
2020-03-14Cleanup: remove unused ARegion from bGPdata_RuntimeCampbell Barton
2020-03-14Cleanup: sort file lists & struct declatationsCampbell Barton