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
2022-06-02Cleanup: remove "<pep8 compliant>" from headersCampbell Barton
It can be assumed that all scripts comply with basic pep8 formatting regarding white-space, indentation etc. Also remove note in best practices page & update `tests/python/pep8.py`. If we want to exclude some scripts from make format, this can be done by adding them to `ignore_files` in: source/tools/utils_maintenance/autopep8_format_paths.py Or using `# nopep8` for to ignore for individual lines. Ref T98554
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2021-11-04GPencil: New option to Merge All layers in active oneAntonio Vazquez
This new option allows to combine all layers in the active one. Also the merge down option has been improved. Reviewed By: mendio, pablo vazquez (UI) Differential Revision: https://developer.blender.org/D13054
2021-08-26Fix T90973: GPencil - Add buttons to move up and down vertex groupsAntonio Vazquez
These buttons were in Meshes but not for Grease Pencil. This patch add them in order to keep consistency. Reviewed By: HooglyBoogly Maniphest Tasks: T90973 Differential Revision: https://developer.blender.org/D12328
2021-07-06Cleanup: pep8Campbell Barton
2021-05-14GPencil: Refactor Append operatorsAntonio Vazquez
Now the operators work like other areas of Blender using the list of selected objects. Also, the name has been changed to: ```Layers: - Copy Layer to Selected - Copy All Layers to Selected Materials: - Copy Material to Selected - Copy All Materials to Selected``` Reviewed By: mendio, pablovazquez, pepeland Differential Revision: https://developer.blender.org/D11216
2021-05-07GPencil: New Append operatorsAntonio Vazquez
Now it's possible to append materials of one grease pencil object into another one. The operator allows active material or all materials. Also, the Layer Copy To Object has been renamed to Layer Append to Object to keep consistency and now allows to append all layers at once.
2021-03-06Cleanup: unused variablesCampbell Barton
2021-01-25UI: improve categorization in Grease Pencil Layers sub-panelsWilliam Reynish
The "Layers" panel for Grease Pencil objects uses sub-panels to organize their properties in categories. Currently, this isn't so clear. This patch cleans up these sub-panels with clearer categorization. Reviewed By: #grease_pencil, antoniov, Blendify, HooglyBoogly Ref D10184
2021-01-21GPencil: New option to Duplicate Layers with Empty KeyframesAntonio Vazquez
This option allows to duplicate the layer and keyframes but without copying the strokes. This is very handy for the cleanup and paint process.
2020-12-18UI: Don't use abbreviations in label textYevgeny Makarov
Expand abbreviations for words like "Bright" (instead of "Brightness"), "Premul", "Lib", "Dir", etc. Differential Revision: https://developer.blender.org/D9862
2020-11-13GPencil: Merge GSoC curve edit modeFalk David
Differential Revision: https://developer.blender.org/D8660 This patch is the result of the GSoC 2020 "Editing Grease Pencil Strokes Using Curves" project. It adds a submode to greasepencil edit mode that allows for the transformation of greasepencil strokes using bezier curves. More information about the project can be found here: https://wiki.blender.org/wiki/User:Filedescriptor/GSoC_2020.
2020-10-24UI: Capitalization CorrectionsYevgeny Makarov
Approximately 141 changes of capitalization to conform to MLA title style. Differential Revision: https://developer.blender.org/D8392 Reviewed by Julian Eisel
2020-06-20GPencil: Fix unreported multiuser datablock for onion messageAntonio Vazquez
This is not logic after the refactor.
2020-03-09GPencil: Refactor of Draw Engine, Vertex Paint and all internal functionsAntonio Vazquez
This commit is a full refactor of the grease pencil modules including Draw Engine, Modifiers, VFX, depsgraph update, improvements in operators and conversion of Sculpt and Weight paint tools to real brushes. Also, a huge code cleanup has been done at all levels. Thanks to @fclem for his work and yo @pepeland and @mendio for the testing and help in the development. Differential Revision: https://developer.blender.org/D6293
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-18GPencil: Layers and Materials Specials menu updatesMatias Mendiola
Rename and separate Layers and Materials Specials menu from other buttons for better consistency Reviewed By: antoniov Differential Revision: https://developer.blender.org/D6271
2019-09-09Cleanup: trailing space, remove tabs, pep8Campbell Barton
2019-08-24Cleanup: Fix PEP8 issuesAntonio Vazquez
2019-08-24GPencil: Object data UI updatesMatias Mendiola
Some tweaks for the Grease Pencil object data UI: - Update main layers controls for consistency (Opacity, Blend mode). - Move "Show only On Keyframed" checkbox to Display section. - Change "Duplicate Layer" icon in Layer menu. {F7695928} Reviewers: antoniov, pepeland, billreynish Reviewed By: billreynish Tags: #bf_blender, #grease_pencil Differential Revision: https://developer.blender.org/D5571
2019-07-01Fix T66300: GPencil layer context menu not working in topbar layer popoverAntonioya
2019-06-28GPencil: Rename "Clamp Layer" to "Mask Layer"Antonioya
The old name was not meaning what this option does. Dtected while writting the manual.
2019-05-22Templates: updated 2D animation templateBrecht Van Lommel
From the grease pencil team.
2019-05-16GPencil: New filter in Onion by keyframe typeAntonioya
This new filter allows to select only some type of keyframe (keyframe, breakdown, etc). This was a request of artists that are used to work with other 2D softwares. Also some cleanup to remove aninmatable option to some properties.
2019-04-19Cleanup: mark unused arguments in UI scriptsCampbell Barton
Quiet's pylint W0613 warning, also remove some unused args.
2019-04-16GPencil: Add lock icon to Vertex Groups listAntonioya
Also check this flag in operators. Note: This is required for the development of the new Normalize All operator.
2019-04-03GPencil: Implement custom channel color in DopesheetAntonioya
A new parameter in the layer adjustment panel allows to define the color of the channel in Dopesheet. This is needed when there are a lot of layers. See D4623 for more details.
2019-03-17Cleanup: unused variablesCampbell Barton
2019-03-14Cleanup: unused importsCampbell Barton
2019-03-12Cleanup: rename specials -> context_menuCampbell Barton
In keeping with convention to match code & UI naming. - No user visible changes. - Include 'menu' in the name since context is an overloaded term. - While a few of these are panels, from a user perspective they are still context menus.
2019-03-07Properties Editor: Grease Pencil and pinning fixesDalai Felinto
The UI was trying to use screen_context.c for its poll and draw functions. So the active object and active object data and active layer was used in the UI, instead of the context one. Besides, for the material, the wrong context path was used altogether when the active object was a greasepencil. This would lead to all sort of pinning problems: * A Mesh panel is pinned, but the active object is a grease pencil, the grease pencil panels would show. * If a Grease Pencil (data) panel is pinned, but the active object is not the one pinned, nothing would show. * Material panels and pinning were totally broken, showing the material context for pinned mesh data panels even. I also sanitized the name of the panels, their inheritance and poll functions. Reviewers: antoniov, brecht Subscribers: billrey Differential Revision: https://developer.blender.org/D4470
2019-03-07Cleanup: remove redundant checkCampbell Barton
2019-03-07Cleanp: use static setsCampbell Barton
2019-03-07UI: Use sub-panels inside Grease Pencil Onion Skinning panelWilliam Reynish
Reviewers: Antonio Vazquez (antoniov) Differential Revision: D4465
2019-03-04GPencil: Move Object Depth Order to ObjectAntonioya
There was a conflict between Object "In Front" and how the strokes were managed in Stroke panel for grease pencil datablock. In order to keep consistency, the order of the object has been moved to Object level and now it's using the standard "In Front" flag. As all it is 3D, the option "Back" has been removed. This also fixes the problem with task T62137. Also related to commit 54ffc4e19dc4 and D4405
2019-02-28GPencil: Remove dummy marker for Grease Pencil objectsAntonioya
After adding selecction using strokes, the dummy is not required because it was added as a provisional solution while we implement stroke selection.
2019-02-27Fix: Grease Pencil data panels not working with pinningDalai Felinto
Note: Things were working fine if you were to pin the Grease Pencil object, but not if you were pinning the GP data. In too many poll functions context.object was being requested when a simple context.gpencil_data would suffit. Panels that are still not showing in pinning: * DATA_PT_gpencil_display. The panel needs to be split in sub-panels, leaving all object-dependent properties in its own panel so we can poll it away, while showing the rest. * * * This commit doesn't handle greasepencil material. In this case I recommend we do as properties_material.py and have a generous poll(), followed by different drawing logics whether or not we have an object.
2019-02-25Grease Pencil naming: Use clear names for depth orderingWilliam Reynish
- Add a new panel to differentiate between viewport display and stroke options - Use clearer naming for depth ordering and stroke thickness properties Reviewers: antoniov Differential Revision: https://developer.blender.org/D4405
2019-02-23GP: Define new Draw ModeAntonioya
Add a new Draw Mode to display panel in order to define the z-.depth order of the strokes using the real 3D position and not the 2D layer position. This change makes possible to use VR with grease pencil drawings because the depth of the strokes change with camera position. Also, provide an alternative solution to tasks: T57859, T60325, The parameter only works with 3D space depth ordering. The Back and Front depths are incompatible with 3D Space mode. Options are: - Back - Front - 3D Space->2D Layers (default) -3D Space->3D Location (new mode)
2019-01-11GP: New Cutter, Constraints and Segment selectionAntonioya
This commit groups a set of new tools that were tested in grease pencil object branch before moving to master. We decide to do all the development in a separated branch because it could break master during days or weeks before the new tools were ready to deploy. The commit includes: - New Cutter tool to trim strokes and help cleaning up drawings. - New set of constraints and guides to draw different types of shapes. All the credits for this development goes to Charlie Jolly (@charlie), thanks for your help! - Segment selection mode to select strokes between intersections. - New operator to change strokes cap mode. - New option to display only keyframed frames. This option is very important when fill strokes with color. - Multiple small fixes and tweaks. Thanks to @pepeland and @mendio for their ideas, tests, reviews and support. Note: Still pending the final icons for Cutter in Toolbar and Segment Selection in Topbar. @billreynish could help us here?
2019-01-09Revert/Redo ugly rBd12b3767f81d commit (i.e. add locked sorting option to ↵Bastien Montagne
UIList). Too many things done wrong in original rBd12b3767f81d to list them all here, hopefully nothing bad sneaked in again this time :| Also cleaned up a little the 'sort by name', even though (since we only have two options by default, sort by index and by name) we can abuse it as a binary option for now, this is not a bitflag...
2018-12-24Cleanup: First batch of UI messages fixes (typos, final points...).Bastien Montagne
Also contains some code typo fixes (mostly, adtaptative -> adaptive, former is nearly innexistant in English, let's stick to simple valid words ;) ).
2018-12-20Cleanup: styleCampbell Barton
2018-12-10GP: Remove Object Onion Skin switchAntonioya
It was confusing to have two switches.
2018-12-10GP: Replace Clamp iconAntonioya
2018-11-26GP: New Blend Layers functionalityAntonioya
Now it's possible define the blend mode between layers including the option to clamp the layer using underlying layers. Also a new Simplify option has been added to disable blend layers.
2018-11-04GP: Reorganize Canvas GridAntonioya
Now the grid is always controlled by the topbar selector and not in the canvas panel. To have two places to define orientation was confuse. The orientation by default (no lock) is always to view plane.
2018-11-01GP: Reorganize origin popover and top areaAntonioya
- Draw on back buttons moves near mode - zDepth offset moved from View Panel to Popover - Target for Stroke mode moved to popover - New First point snap mode
2018-10-31GP: Move Autlock to Layer menuAntonioya
2018-10-31GP: New Autolock Inactive LayerAntonioya
This option locks any layer no active to avoid any accidental change.