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-09-19Merge branch 'master' into blender2.8Campbell Barton
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-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 ;) )
2016-09-18BLI_listbase: Add/use utility to move link (BLI_listbase_link_move)Julian Eisel
We were calling BLI_remlink and then BLI_insertlinkbefore/after quite often. BLI_listbase_link_move simplifies code a bit and makes it easier to follow. It also returns if link position has changed which can be used to avoid unnecessary updates. Added it to a number of list reorder operators for now and made use of return value. Behavior shouldn't be changed. Also some minor cleanup.
2016-09-18GPencil: Don't show error popup when strokes can't be reordered furtherJulian Eisel
Was spawning error popup each time user tried to move a stroke higher or lower than the list allowed. We don't do that anywhere else and it's not really useful info for the user. So rather not bother her.
2016-09-18GPencil: Fix memory leak using stroke arrange OPJulian Eisel
2016-08-27GPencil: Cleanup change color operatorAntonioya
It is faster to assign the color to the pointer instead to force the new lookup in drawing function.
2016-08-26Code CleanupJoshua Leung
* Stroke editing functions should be in gpencil_edit.c not gpencil_data.c (the latter is only for handling "CRUD" operations on things like layers, brushes, and palettes) * Deduplicate the GP_STROKE_BUFFER_MAX define
2016-08-18Cleanup/security fix: do not use strcpy (at least in new code).Bastien Montagne
This function is only really secure in a very limited amount of cases, and can especially bite you later if you change some buffer sizes... So not worth bothering with it, just always use BLI_strncpy instead.
2016-08-18Final UI messages fixes (for this session...).Bastien Montagne
2016-08-07GPencil: Fix error in arrange strokesAntonioya
During code review a field was renamed, but one line was missing.
2016-08-05GPencil: Various UI name fixesJoshua Leung
* "Flip direction" -> "Flip Direction" * "Show drawing direction" -> "Show Directions" * "Grease Pencil Curves" -> "Brush Curves" (I was considering "Brush Response Curves" instead, but that seemed like too much of a mouthful) * "X" for removing a palette. The UI there was more similar to a standard datablock selector, so it should use the "+X" combo instead of "+-" combo for consistency. (Note though, presets tend to use "+-" instead - e.g. see the Render Settings)
2016-08-05GPencil: Added Ctrl-J hotkey for Joining strokesJoshua Leung
(Ctrl-Shift-J is for "Join and Copy")
2016-08-05GPencil: "Join Strokes" tool doesn't leave gaps by default nowJoshua Leung
Previously, it would insert "invisible" points after the endpoints of the strokes, so that they wouldn't appear to be joined, but that behaviour could also get quite confusing as you wouldn't be sure whether the strokes were really joined or not. To keep the previous behaviour, simply enable the "Leave Gaps" option on the operator after running it. This setting will get saved between runs of the operator.
2016-08-04Cleanup: Use BKE_gpencil prefixJulian Eisel
This is a good point to change this as grease-pencil-v2 branch was just merged, so I hope merge conflicts with other branches are minimal.
2016-08-04Grease Pencil v2 BranchAntonio Vazquez
Improve current Grease Pencil in order to get a better 2D animation tool. More info in WIKI pages: https://wiki.blender.org/index.php/User:Antoniov Reviewed By: Severin, aligorith, campbellbarton Patch by @antoniov, with edits by @Severin. Differential Revision: https://developer.blender.org/D2115
2016-02-08Code Cleanup: Use bool instead of int for "setactive" paramJoshua Leung
2015-12-14Usual i18n fixes, and cleanup: fix 'randomise' -> 'randomize' spelling in code.Bastien Montagne
2015-12-13Grease Pencil: Merge GPencil_Editing_Stage3 branch into masterJoshua Leung
This commit merges all the work done in the GPencil_Editing_Stage3 branch as of ef2aecf2db981b5344e0d14e7f074f1742b0b2f7 into master. For more details about the changes that this brings, see the WIP release notes: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.77/GPencil
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-04-02GPencil: H/Shift-H/Alt-H now work to Hide and Reveal Layers in Strokes Edit ModeJoshua Leung
* H = Hide active layer * Shift-H = Hide non-active layers * Alt-H = Show all layers
2015-04-02Code Cleanup: Pruning back the unusued includes nowJoshua Leung