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-07-26WM: replace UI draw callbacks w/ property pollCampbell Barton
Custom drawing functions were used just to control property display. Move to poll function.
2018-07-26WM: Add operator property poll callbackCampbell Barton
This allows operators to filter out properties from the auto-generated draw functions. Some custom draw functions can move to using this.
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-06-15Cleanup: some more G.main removal/validation...Bastien Montagne
2018-06-13Cleanup: remove more G.main from BKE area.Bastien Montagne
2018-06-08Cleanup: getting rid of G.main.Bastien Montagne
Sometimes one needs a *lot* of changes for a single G.main... :/
2018-06-08Fix regression in grease pencil drawingCampbell Barton
Drag events finished drawing early.
2018-06-07Cleanup: remove moar G.main usages.Bastien Montagne
Notes: * Really need to address RNA setters case, end up adding way too much G.main here these days... :/ * Added Main pointer into bAnimContext, helps a lot in anim code ;)
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
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