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
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
2015-04-02Code Cleanup: Reshuffling some of the GPencil codeJoshua Leung
* Moved the context handling stuff into gpencil_utils.c * Moved the datablock and layer operators out into their own file too. Again, these weren't related to the other stuff that much * Split the GPencil to Curves operator out into its own file (gpencil_convert.c). This was quite a massive blob of code (48kb) that was not that related to the other operators still in that file (gpencil_edit.c)