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
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-07Fix dpesgraph wrongly refcounting NLA strip actions when duplicating IDs.Bastien Montagne
NLA strips are users of their action, so we need to pass along ID management flags. This commit also cleans up a bit things by passing along ID_CREATE/COPY flags instead of dummy booleans...
2018-11-07Cleanup: remove GPENCIL_OT_sculpt_selectCampbell Barton
This can be done via WM_OT_context_set_enum
2018-11-07Paint: paint.brush_select now supports gpencilCampbell Barton
Replace grease pencil specific brush select operator.
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-10-20GP: Redesign drawing cache to support particlesAntonioya
Full redesign of the cache system used for drawing strokes and handle derived frame data. Before, the cache was saved in bGPdata and a hash was used to manage several objects with the same datablock. Old design made the use of particles very inefficient and prone to bugs and segment faults, and especially when this was mixed with onion skinning and multiple objects using same datablock. Also, there were some conflicts with the depsgrah logic (the old design was done before despgraph was in place) that made the use of hash not working. The new design saves the data in the object runtime struct and avoid the use of any hash to find the right data. This improves the speed and reduce a lot the complexity of the code, memory allocation, hash overload and adds full support for particles and reused datablocks. The particles can reuse the modifiers and shader effects of the original grease pencil object.
2018-10-13GP: Remove Layer order userprefs parameterAntonioya
After a lot of discussion about this option (see 18f117594004) we have decided set always the order of GP layers in 2D mode (Top->Down) and remove the parameter from User Preferences screen. Internally all works equal, but in the UI the list is inverted. The filter buttons to reverse the list or sort alphabetically have been removed because these buttons are not logic in this context.
2018-10-12Cleanup: trailing space w/ slash, right shiftCampbell Barton
2018-10-12UI: move layer up/down reverse into the operatorCampbell Barton
2018-10-11GP: Invert merge down if layer list is reversedAntonioya
2018-10-01Object Join: use 'selected_editable_objects'Campbell Barton
Was using 'selected_editable_bases', which used to save a lookup. This is no longer the case and complicates access from Python which cant yet easily access Bases.
2018-09-30Fix T56984: GP: Materials: Isolate (lock/visibility) buttons don't work.Antonioya
2018-09-27Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-26GP: Fix unreported change material operator errorAntonioya
The first material of the list could not be assigned.
2018-09-25GP: Add const to variableAntonioya
2018-09-25GP: New deselect by material optionAntonioya
Now the operator to select by color can unselect too.
2018-09-25GP: Small changes to assign color operatorAntonioya
2018-09-25GP: Add multiframe support to select by colorAntonioya
2018-09-25GP: Fix select strokes by color errorAntonioya
2018-09-19BLI_utildefines: rename pointer conversion macrosCampbell Barton
Terms get/set don't make much sense when casting values. Name macros so the conversion is obvious, use common prefix for easier completion. - GET_INT_FROM_POINTER -> POINTER_AS_INT - SET_INT_IN_POINTER -> POINTER_FROM_INT - GET_UINT_FROM_POINTER -> POINTER_AS_UINT - SET_UINT_IN_POINTER -> POINTER_FROM_UINT
2018-09-19Merge branch 'master' into blender2.8Campbell Barton
2018-09-02Cleanup: comment blocksCampbell 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: Use custom api to get materialAntonioya
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-27GP: New operator to copy layers between objectsAntonioya
The operator allows to copy a complete layer with all frames or only active frame to a new object. Can be found in edit specials menu (W key) or in Layers specials menu (last button near layer list).
2018-08-27GP: replace custom API w/ BKE_deform APICampbell Barton
2018-08-27Fix grease pencil weight invertCampbell Barton
Was always using first group.
2018-08-15GP: Add multiframe support to clean loose operatorAntonioya
2018-08-15GP: New clean loose points operatorAntonioya
This operator clean any stroke below a defined number of points. This is used because sometimes when use eraser some points keep missing. Also some changes in the UI menu.
2018-08-14Cleanup: copy paste error in tooltipAaron Carlisle
2018-08-08Fix T56220: Adding Grease Object crashes if link Material is set to ObjectAntonioya
2018-08-03Replace wrong aasign material flag to BKE_MAT_ASSIGN_USERPREFAntonioya
2018-08-02Add list of color to Assign color operatorAntonioya
It's more clear for user to see the name of the color
2018-08-01Cleanup: Replace "Move Color" to "Assign Material"Antonioya
2018-07-31Cleanup: style, duplicate includesCampbell Barton
2018-07-31New Grease Pencil object for 2D animationAntonioya
This commit merge the full development done in greasepencil-object branch and include mainly the following features. - New grease pencil object. - New drawing engine. - New grease pencil modes Draw/Sculpt/Edit and Weight Paint. - New brushes for grease pencil. - New modifiers for grease pencil. - New shaders FX. - New material system (replace old palettes and colors). - Split of annotations (old grease pencil) and new grease pencil object. - UI adapted to blender 2.8. You can get more info here: https://code.blender.org/2017/12/drawing-2d-animation-in-blender-2-8/ https://code.blender.org/2018/07/grease-pencil-status-update/ This is the result of nearly two years of development and I want thanks firstly the other members of the grease pencil team: Daniel M. Lara, Matias Mendiola and Joshua Leung for their support, ideas and to keep working in the project all the time, without them this project had been impossible. Also, I want thanks other Blender developers for their help, advices and to be there always to help me, and specially to Clément Foucault, Dalai Felinto, Pablo Vázquez and Campbell Barton.
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-06-13Cleanup: remove more G.main from BKE area.Bastien Montagne
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-04-03Cleanup: rename list count_ex -> count_at_mostCampbell Barton
2018-04-01Cleanup: remove global headerCampbell Barton
2017-11-19Option not to select with un-hideCampbell Barton
D1518 from @mba105 w/ edits
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-01-16Cleanup/refactor: Add new BLI_string_util.Bastien Montagne
Things like `BLI_uniquename` had nothing, but really nothing to do in BLI_path_util files! Also, got rid of length limitation in `BLI_uniquename_cb`, we can use alloca here to avoid overhead of malloc while keeping free size (within reasonable limits of course).
2016-11-11GPencil: Create brush set when create new datablock or layerAntonioya
Before this commit, the brush set was created with the first stroke drawing, but if the user creates the datablock or the layer manually (not drawing) the brush list was empty. This commit complement the python fix by Sergey: https://developer.blender.org/rB89c1f9db37cc1becdd437fcfdb1877306cc2b329
2016-09-19UI Messages: Consistent spelling of term "data-block"Julian Eisel
Was using a bunch of different spellings, mostly "data-block" though, so went with that one (would have been my #1 choice anyway ;) )