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
2020-01-09Fix T72976: CRASH When Selecting CameraAntonio Vazquez
2020-01-07GPencil: Remove memory allocation for trianglesAntonio Vazquez
This will be replaced later, so it's not logic allocate now.
2020-01-07GPencil: Remove is_annotation parameterAntonio Vazquez
Now, the name of the operator is used.
2020-01-07Annotations: Split annotation operators and pointer functionsAntonio Vazquez
This allows to have annotation panels and grease pencil object panel at the same time. Differential Revision: https://developer.blender.org/D6467
2019-12-17Fix T72430: GPencil normalize command crashes blenderAntonio Vazquez
When the stroke weights array was NULL, the function crash. Just check NULL value.
2019-12-06Fix T72215: Insert Blank Keyframe Active Layer) creates a new frame in all ↵Antonio Vazquez
layers The default parameter was saved and the next time the operator was used, if it was used all layers, the default value changed.
2019-12-05GPencil: Fix Stroke keeps selected when duplicate (unreported)Antonio Vazquez
When use `Shift+D` the original stroke was unselected only at stroke level, but not at point level and the edit line kept selected.
2019-12-04GPencil: Add Opacity y Onion switch to DopesheetAntonio Vazquez
Add new icons and panels Grease Pencil Dopesheet to manage layers without having the properties panel visible. Also, the icons are in the same order in Dopesheet, Layers and Material list to keep consistency. As the number of columns for icons is limited to 3 and we also need use a factor, I have impleted the change using slider area. Also, the slider option is enabled by default for 2D Template. See T72026 for more info. Reviewed By: mendio, pepeland, billreynish Differential Revision: https://developer.blender.org/D6328
2019-11-29GPencil: Fix error when interpolate sequence strokes with weightsAntonio Vazquez
When the final stroke was smaller than original stroke, the weights array must be resized, but by error the function used the original stroke pointer instead of the new stroke pointer and this corrupted the pointers.
2019-11-29Fix T72013: Gpencil Interpolate strokes causes instant crash when material ↵Antonio Vazquez
list is empty The problem was the draw function tried to use the material and gpsettings and both were NULL. Now, the default material is used.
2019-11-08Cleanup: clang-formatCampbell Barton
2019-11-06Fix T71336: GPencil: Wrong mouse cursorCharlie Jolly
2019-11-02Merge branch 'blender-v2.81-release'Antonio Vazquez
2019-11-02GPencil: Some NULL checks missing in previous T71260 fixAntonio Vazquez
2019-11-02Merge branch 'blender-v2.81-release'Antonio Vazquez
2019-11-02Fix T71260: GPencil crash when drawing very long linesAntonio Vazquez
There were two problems: 1) When the buffer was reallocate, the pointer was corrupted. 2) Short variables were too small to hold long lines.
2019-11-01Merge branch 'blender-v2.81-release'Antonio Vazquez
2019-11-01Fix T71251: Move Strokes to Layer slider gets wonkyAntonio Vazquez
This parameter must be hidden.
2019-10-24Merge branch 'blender-v2.81-release'Antonio Vazquez
2019-10-24Fix T71063: GPencil - Numpad return key cannot be used to confirm primitiveAntonio Vazquez
2019-10-22Cleanup: clang-format, trailing spaceCampbell Barton
2019-10-22Merge branch 'blender-v2.81-release'Antonio Vazquez
2019-10-22GPencil: Calculate inverse matrix only onceAntonio Vazquez
Instead to do it for each action, do it only in init.
2019-10-21Merge branch 'blender-v2.81-release'Antonio Vazquez
2019-10-21Fix T70888: GPencil Sculpt tools don't work properly in a particular situationAntonio Vazquez
Thanks to @charlie for his help fixing this bug.
2019-10-19GPencil: Primitive: Polyline ToolCharlie Jolly
T70927 Maniphest Tasks: T70927 Differential Revision: https://developer.blender.org/D6097
2019-10-09Fix T70677: Annotation converted to grease pencil remains unselectableAntonio Vazquez
The problem was the new object was created byt the tag for update objects in depsgraph was not tagged.
2019-09-27GPencil: New Brush default settingsAntonio Vazquez
This patch replaces D5787. Now instead to replace the startup.blend file, all the changes are done in versioning and moved to shared module to be reused by Brush reset. Reviewers: brecht, mendio Reviewed By: brecht Subscribers: pepeland, mendio Differential Revision: https://developer.blender.org/D5913
2019-09-27GPencil: Simplify smooth average factor calculationAntonio Vazquez
As always uses 4 points, don't need to do calculations for that and also it was wrong with 3 points.
2019-09-27GPencil: New smart smooth for strokesAntonio Vazquez
When using the samples, the interpolated points get abrupt steps because the system cannot receive all events in a short period of time. This is more noticeable when the samples are set to 10 and the pen is moved very fast. The problem with post-processing smooth is that is applied to all stroke and this removes details. The smart smooth is automatic and detect only the segments in the stroke where the system was unable to capture all movements and apply a smooth algorithm.
2019-09-26Grease Pencil: use standard eraser and paint brush cursorsHarley Acheson
Ref D5197
2019-09-26WM: clean up cursors constants and codeBrecht Van Lommel
There was a mix of old and new constants. Now have one list of WM_CURSOR_* cursor types, using GHOST standard cursors when available and otherwise falling back to our custom cursors. Ref D5197
2019-09-25Fix T70231: GPencil - Moving very fast tablet pen gets ugly stroke endsAntonio Vazquez
When move very fast the pen using a tablet, the end of the strokes was very ugly if the sampling was enabled. The reason for that is the last point and the previous one was interpolated in distance, but not in pressure and strength. This commit uses several processes to get better endings: a) If the pressure at the end of the stroke is very low, this part of the stroke is removed. This is a common issue with some tablet that send events with very low pressure when the pen is raised from drawing surface. b) The interpolated points created by sampling are interpolated in strength and pressure to get a smooth transition. c) Active smooth also uses the strength. Before only pressure was used.
2019-09-24Fix T70202: Typo error in messageAntonio Vazquez
2019-09-23GPencil: Use correct comparison for non-bit valuesAntonio Vazquez
2019-09-22GPencil: Fix missing last point when sculpt in MultiframeAntonio Vazquez
This was a mistake when fixed the problem with multiframe sculpt. I missed change the index and use active point in the check.
2019-09-21GPencil: Apply transformed rotation only if neededAntonio Vazquez
If there aren't modifiers or they are not transform type, the rotation is not needed.
2019-09-21GPencil: Use Object location instead of 3D cursor for Grab BrushAntonio Vazquez
Instead to use the 3D cursor as reference point (legacy code), it would be better use the object location. Tested by: @pepeland
2019-09-21GPencil: Remove Sculpt rotation effect for multiframe sculptAntonio Vazquez
As multiframe does not use modifiers, this is not required and only gets weird results. Related to T70116
2019-09-21GPencil: More changes to use original data in multiframe sculptAntonio Vazquez
Related to T70116
2019-09-21GPencil: Fix error in previous commitAntonio Vazquez
Related to T70116
2019-09-21GPencil: Use evaluated or original data in Sculpt for MultiframeAntonio Vazquez
The evaluated frame is only available when the frame is the active one. Related to T70116
2019-09-21GPencil: Fix unreported select not working in multiframe modeAntonio Vazquez
The selection was not working because the evaluated frame was only working for active frame, so when the evaluation was changed to use eval data instead of original data, the data was not available and the loop did not use it. Related to T70116
2019-09-20UI: Fix CapitalizationYevgeny Makarov
Differential Revision: https://developer.blender.org/D5716
2019-09-19Cleanup: Remove redundant name checkingAntonio Vazquez
The BKE function already does this checking.
2019-09-19Fix T70009: GPencil copied layer is linked to its original layerAntonio Vazquez
As the layer and frame memory was duplicated, the pointers were connected to old data. This was solved when saved the file, but this was a bug. Also this required a duplication and clean all listbase items. Now, instead to duplicate and clear memory for layers and frames, just create a new layer and frame. This solution fix the problem, it's faster and also keeps the code cleaner.
2019-09-18GPencil: Fix unreported error using Grab sculpt in empty frameAntonio Vazquez
When the grab brush was used in an empty frame, a new frame was created, but as the depsgraph was no tagged, the evaluated data was wrong and the Grab hash failed.
2019-09-17Fix T69963: GPencil Hotkeys (1,2,3) do not work to switch Select Mode in ↵Antonio Vazquez
Edit Mode
2019-09-14Cleanup: use const args, variablesCampbell Barton
2019-09-13Cleanup: unused headers (GPU)Campbell Barton