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-04-03Cleanup: rename list count_ex -> count_at_mostCampbell Barton
2018-04-03Cleanup: editor BKE_main includesCampbell Barton
2018-04-01Cleanup: remove global headerCampbell Barton
2018-02-18Cleanup: add 2d suffix to BLI filesCampbell Barton
Some of these API's can have 3D versions, explicitly name them 2D.
2018-01-25Fix missing broken notifiersDalai Felinto
We can't have more than one NOTE_SUBTYPE in the same notifier. Instead of calling both subtypes the code end up not calling either.
2017-11-26Fix T53393: Change from 'd' key to 'draw' panel button causes pencil to be ↵Joshua Leung
activated immediately instead of upon LMB
2017-11-19Option not to select with un-hideCampbell Barton
D1518 from @mba105 w/ edits
2017-10-20Cleanup: redundant castsCampbell Barton
2017-10-20Cleanup: replace gpencil tri vars w/ arrayCampbell Barton
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-10-16WM: refactor gestures for use as toolsCampbell Barton
Border and circle select wait for input by default. This commit uses bool properties on the operators instead of magic number (called "gesture_mode"). Keymaps that define 'deselect' for border/circle select begin immediately, exiting when on button release.
2017-10-16Cleanup: modal operator border callback namesCampbell Barton
Use same convention as all others. Remove 'select' since these are used for zoom as well.
2017-10-16WM: Don't save mouse-paths to operator historyCampbell Barton
In preparation for modal operators storing their properties, no need to keep mouse-paths around. Also use generic function for lasso properties.
2017-10-16WM: remove hard-coded circle radius memoryCampbell Barton
Replace with operator type 'last_properties'. Also use generic function for circle gesture properties.
2017-09-27Math Lib: Add non-clamped round_* functionsCampbell Barton
Replace iroundf with round_fl_to_int, add other types
2017-09-08Fix: Grease Pencil pie menu keymaps were broken after the menus got renamedJoshua Leung
2017-09-03Fix: Deleting GPencil keyframes in DopeSheet didn't redraw the viewJoshua Leung
2017-09-03Fix: GPencil Sequence Interpolation for thickness/strength was invertedJoshua Leung
For example, if you have two keyframes: k1 = 1px, k2 = 10px it was doing: 1px, 9px, 8px, ..., 3px, 2px, 10px instead of: 1px, 2px, 3px, ..., 8px, 9px, 10px
2017-08-22Fix T52483: Fill is incorrect for interpolated strokesAntonio Vazquez
The recalc flag must be enabled for new interpolated strokes.
2017-08-01Cleanup: use static vars where appropriateCampbell Barton
2017-07-24Correct invalid assert useCampbell Barton
2017-06-23Grease Pencil: Fix hardcoded DKEY for continous drawingDalai Felinto
2017-06-19Cleanup: doxygen commentsCampbell Barton
Also remove duplicate & mismatching comments from grease-pencil header. Keep comments close to implementation to avoid getting out of sync.
2017-06-16Usual i18n/UI messages fixes.Bastien Montagne
Please do not add useless tooltips! We have enough messages to translate already...
2017-06-08Cleanup: cmake indentation, missing includeCampbell Barton
2017-06-07Fix: GP Clone brush was not correcting color references for pasted strokes ↵Joshua Leung
either
2017-06-07Fix: Pasting GP strokes files between files (or when the original colors ↵Joshua Leung
were deleted) would crash The problem was that the strokes in the copy-paste buffer could be keeping dangling pointers to colors that were already freed. Therefore, this commit makes it so that when copying the strokes, we now make copies of the colors and put them in a hashtable beside the stroke buffer. This is convenient, as it saves us having to look up what colours need to be copied over each time when pasting.
2017-06-07GP Copy/Paste Fix: Paste button doesn't update after copying strokes using ↵Joshua Leung
Ctrl-C
2017-06-07GPencil Copy/Paste Fix: Copying/Pasting strokes between datablocks would crashJoshua Leung
The problem was that newly pasted strokes were still using colours from the original datablock. As a result, you'd either get an immediate crash, or if you managed to save the file before it crashed, each stroke would get reloaded with a dummy colour. This commit fixes makes it possible to copy/paste strokes between datablocks again. However, there are still problems when trying to paste across file boundaries (i.e. copy strokes in one file, paste in another), which the next commit will address.
2017-05-30Fix UI message (no points and no phrases in tooltips please!).Bastien Montagne
2017-05-29UI: Make GP "Add Blank Frame" operator name and description fit its behavior.Thomas Beck
The operator is indeed not adding frames but inserting them at the current frame (shifting all subsequent ones). Changed the operator name and description. Approved by Antonio.
2017-05-19Cleanup: add braces for multi-line blocksCampbell Barton
2017-05-15Cleanup: warnings, styleCampbell Barton
2017-04-29Cleanup: comment blocksCampbell Barton
2017-04-24Cleanup: styleCampbell Barton
2017-04-16Fix T49617: Grease Pencil Stroke Placement regressionAntonio Vazquez
When moved the options to toolsetting, this part was missing. The problem was not the pointer as suggested in D2629. Thanks Arvīds Kokins for his help fixing this bug
2017-04-10GPencil 2D drawing code: minor optimization.Bastien Montagne
Do not recompute both points's 2D coordinates for each segments, we can copy over from previous one... Does not gives any measurable speedup off hands, though.
2017-04-01Cleanup: styleCampbell Barton
2017-03-29Fix missing NULL check in gpencil pollCampbell Barton
Also de-duplicate poll functions
2017-03-01Cleanup: code-style, duplicate headerCampbell Barton
2017-02-09Fix: GPencil delete operators did not respect color lockingJoshua Leung
2017-01-20Fix minor glitches in GP code.Bastien Montagne
Reported by coverity scan.
2017-01-19GPencil: Add option to create blank frame in active layer onlyAntonio Vazquez
Now it is possible to select if the blank frame is created in active layer only or in all layers.
2017-01-18Fix strict compiler warning messageSergey Sharybin
2017-01-18GPencil: Avoid variable shadowingSergey Sharybin
2017-01-18Reproject Strokes - To Surface/GeometryJoshua Leung
Experimental option for the Reproject Strokes operator to project strokes on to geometry, instead of only doing this in a planar (i.e. parallel to viewplane) way. The current implementation is quite rough, and may need to be improved before it is really ready for use. Potential issues: * Loss of precision (i.e. stairstepping artifacts) from the 3D -> 2D -> 3D conversion as we don't have float version of one of the projection funcs * Jagged depth if there are gaps, since it will default back to the 3d-cursor plane if no geometry was found (instead of doing some fancy interpolation scheme) * I'm not sure if it's that useful for adapting GP strokes to deforming geometry yet...
2017-01-18Fix: Make it possible to erase strokes (on other layers) even if the active ↵Joshua Leung
layer doesn't have any frames
2017-01-18Fix: Avoid creating redundant frames when erasingJoshua Leung
Now the eraser checks if there's an active frame with some strokes in it before creating a new frame. There's no point in creating a new frame if there are no strokes in the active frame (if one exists). This still doesn't help much if there were strokes but they weren't touched though...
2017-01-18GPencil: Pressing 'B' while in 'Continuous Drawing' mode will create a blank ↵Joshua Leung
frame This is a hardcoded keymapping that just calls the "Add Blank Frame" operator introduced in the previous commit.
2017-01-18GPencil: "Add Blank Frame" operator (D+B)Joshua Leung
This operator adds a new frame with nothing in it on the current frame. If there is already a frame there, all existing frames are shifted one frame later. Quite often when animating, you may want a quick way to get a blank frame, ready to start drawing something new. Or maybe you just need a quick way to add a "placeholder" frame so that a suddenly-appearing element does not show up before its time.