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-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-25GP: Set cyclic to OFF when use cutterAntonioya
When cut a stroke, the cyclic must be set to off because keep it gets very weird results.
2019-01-21GP: Fix memory leaks when use cutter with weightsAntonioya
There were some issues when copy the weights and other memory leaks. Also some code cleanup.
2019-01-21T60701: GP using cutter tool on stroke with vertex group crashes blenderAntonioya
2019-01-18GP: Create materials when separate active layerAntonioya
The materials were not created when used the active layer option of the separate operator.
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-15Cleanup: styleCampbell Barton
2019-01-14Cleanup: compiler warningsCampbell 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-31Fix T60015: snap to grid - snaps only to largest incrementmano-wii
Caused by rBc7a96651dfa4 when trying to remove all uses of the deprecated `rv3d->gridview`.
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-24Cleanup: First batch of UI messages fixes (typos, final points...).Bastien Montagne
Also contains some code typo fixes (mostly, adtaptative -> adaptive, former is nearly innexistant in English, let's stick to simple valid words ;) ).
2018-12-20Fix T59579: Grease Pencil copy buffer loses material informationAntonioya
2018-12-14GP: Rename CTX and OB modesAntonioya
Part of T59335.
2018-12-14Merge branch 'master' into blender2.8Campbell Barton
2018-12-14Missed last commitCampbell Barton
2018-12-14Fix compiler errorCampbell Barton
2018-12-14GP: Add Subdivide Smooth optionAntonioya
2018-12-13GP: New Smooth operatorAntonioya
Smooth a stroke, in edit mode, similar how mesh operator works with meshes.
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-11-263D View: remove 3D cursorCampbell Barton
Use 3D cursor from the scene (was previously used for local-view).
2018-11-20GP: Reorganize Reproject optionsAntonioya
The options depend of drawing mode and this was very strange. Now, the options are listed in the menu.
2018-11-14Cleanup: comment block tabsCampbell Barton
2018-11-13GP: Fix wrong fill after subdivideAntonioya
2018-11-13Cleanup: add arg to GP_EDITABLE_STROKES macroCampbell Barton
Without this, we use arguments defined in the macro making code hard to read.
2018-11-12Fix T57713: Object not selecteable after separate strokesAntonioya
The object was duplicated in Edit mode.
2018-11-11GP: Use same name when duplicate datablockAntonioya
2018-11-10Cleanup: styleCampbell 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 tool offset & mode to runtime dataCampbell Barton
It was getting too impractical to call BKE_paint_brush_tool_info which needed to lookup the scene pointers. Now each store tool offset and brush mode in 'Paint.runtime'
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-11-03Tool System: validate tool slots when setting modesCampbell Barton
Needed for entering paint modes on new scenes.
2018-10-12Cleanup: trailing space w/ slash, right shiftCampbell Barton
2018-09-27Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-25GP: Add const to variableAntonioya
2018-09-20GP: Add keymap 1 and 2 for select modeAntonioya
2018-09-07Fix T56707: Assert changing grease pencil modesCampbell Barton
2018-09-04Fix T56686: Crash when copy and paste AnnotationsAntonioya
Annotations are not designed to edit, copy or paste, so the operators must be disabled. By design annotations can only be added or deleted, but not edited. Still pending clean the pie menus, but this will be done during UI cleanup.
2018-09-03GP: Cleanup function parameterAntonioya
There was a mix of enum parameters and int/bool values.
2018-09-02Cleanup: comment blocksCampbell Barton
2018-08-30GP: Undo previous Subdivide edit operator and reformat codeAntonioya
The previous commit reusing the subdivide modifier code was not taking in account the selected points, so the subdivide was wrong.
2018-08-30Cleanup: warningsCampbell Barton
2018-08-30GP: Improve Subdivide and SimplifyAntonioya
Now the weights are managed in the operators. The subdivide operator and modifier code have been replaced with a shared function. Some cleanup also.
2018-08-29Merge branch 'master' into blender2.8Campbell Barton
2018-08-28GP: Revert replace custom function by standard APIAntonioya
Using custom api breaks material at object level
2018-08-28Cleanup: warningsCampbell Barton
2018-08-28GP: Replace custom function by standard APIAntonioya
Replace BKE_gpencil_get_material_index by BKE_object_material_slot_find_index
2018-08-27Fix unreported: the gridview is no longer computed, so the snapping ↵mano-wii
functions have to use the actual grid scale.