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-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-23Fix T72555: Brush Radius/Size and Strength not linked on header tools ↵William Reynish
settings when Unified Brush is active Patch by Demeter Dzadik Differential Revision: https://developer.blender.org/D6473
2019-12-16Fix: Missing category in IMAGE_PT_paint_settings_advanced panelWilliam Reynish
Addresses raised concern in fb74dcc5d69d
2019-12-16UI: de-duplicate mask context menuCampbell Barton
- Use the clip mask context menu for the image editor. - Remove redundant CLIP_MT_mask_handle_type_menu. - Remove "Add" items (was only in image mask context menu) as the convention is not to include these in the context menu.
2019-12-16Cleanup: pep8, unused vars, line lengthCampbell Barton
2019-12-14UI: Brush Settings overhaulWilliam Reynish
This makes a number of changes to the tool settings brush UI: - All brush-related controls are now grouped together, so you can see which items are brush settings are which are not. Previously it was all jumbled together. - The brush picker is in a separate panel, so that you can switch brushes without worrying about the settings, or vice versa. - Custom Icon settings moved from the Display settings(now known as Cursor) to the Brushes panel. - UnifiedPaintSettings panels are removed and the contained options are now next to their relevant setting with a globe icon toggle. This is not displayed in the header. - 2D Falloff and Absolute Jitter toggles were changed into enums, to make it clearer what happens when they are on or off. - Adjust Strength for Spacing option was in the Options panel in some modes, but in the Stroke panel in others. It is now always under Stroke. - Display (now Cursor) panel was reorganized, settings renamed. - 2-option enums are annoying as a drop-down menu, so they are now drawn with expand=True. - Smooth Stroke and Stabilizer options in grease pencil and other paint modes are now both called "Stabilize Stroke", for consistency and clarity. - De-duplicated some drawing code between various painting modes' brush options. I tried to keep de-duplication reasonable and easy to follow. - A few more tweaks - see D5928 for the extensive list. Most of the patch is written by Demeter Dzadik, with some additions by myself Differential Revision: https://developer.blender.org/D5928 Reviewers: Pablo Dobarro, Bastien Montagne, Matias Mendiola
2019-12-13Fix T72409: Remove references to Unified use_pressure_size and ↵Pablo Dobarro
use_pressure_strength This was causing errors to show in the terminal. Reviewed By: campbellbarton Maniphest Tasks: T72409 Differential Revision: https://developer.blender.org/D6407
2019-12-12Add support for tiled images and the UDIM naming schemeLukas Stockner
This patch contains the work that I did during my week at the Code Quest - adding support for tiled images to Blender. With this patch, images now contain a list of tiles. By default, this just contains one tile, but if the source type is set to Tiled, the user can add additional tiles. When acquiring an ImBuf, the tile to be loaded is specified in the ImageUser. Therefore, code that is not yet aware of tiles will just access the default tile as usual. The filenames of the additional tiles are derived from the original filename according to the UDIM naming scheme - the filename contains an index that is calculated as (1001 + 10*<y coordinate of the tile> + <x coordinate of the tile>), where the x coordinate never goes above 9. Internally, the various tiles are stored in a cache just like sequences. When acquired for the first time, the code will try to load the corresponding file from disk. Alternatively, a new operator can be used to initialize the tile similar to the New Image operator. The following features are supported so far: - Automatic detection and loading of all tiles when opening the first tile (1001) - Saving all tiles - Adding and removing tiles - Filling tiles with generated images - Drawing all tiles in the Image Editor - Viewing a tiled grid even if no image is selected - Rendering tiled images in Eevee - Rendering tiled images in Cycles (in SVM mode) - Automatically skipping loading of unused tiles in Cycles - 2D texture painting (also across tiles) - 3D texture painting (also across tiles, only limitation: individual faces can not cross tile borders) - Assigning custom labels to individual tiles (drawn in the Image Editor instead of the ID) - Different resolutions between tiles There still are some missing features that will be added later (see T72390): - Workbench engine support - Packing/Unpacking support - Baking support - Cycles OSL support - many other Blender features that rely on images Thanks to Brecht for the review and to all who tested the intermediate versions! Differential Revision: https://developer.blender.org/D3509
2019-10-30Fix image paint showing project-paint settingsCampbell Barton
Also make projpaint a keyword-only argument to avoid copy-paste errors like this re-occurring in the future.
2019-10-29Fix T71124: UV Editor – Proportional Editing Falloff misses some Optionsmano-wii
This mimics the same solution for proportional edit in the 3D View. Maniphest Tasks: T71124 Differential Revision: https://developer.blender.org/D6142
2019-10-01Image: add resize operatorCampbell Barton
Now possible with new image undo, was added for testing but seems generally useful.
2019-10-01Image/Clip Space: Add view center to cursor operatorsCampbell Barton
D5932 by @a.monti with edits
2019-08-27UV Editor: Remove Unimplemented Show Edges OptionJeroen Bakker
Show Edges option in the UV editor does not do anything. Only RNA/DNA code could be found, so it is save to be removed. Differential Revision: https://developer.blender.org/D5446
2019-08-20Fix T68789: Do not use new python format strings thingy in UI code.Bastien Montagne
This is 100% incompatible with translation...
2019-08-07UV: select overlap operatorCampbell Barton
New operator to select overlapping UV's, from all visible edit-mesh UV's. D5421 @deadpin with edits.
2019-08-04Tweak Brush Gradient UIWilliam Reynish
Gradient and Color are mutually exclusive, so we now communicate this in the UI much more clearly Differential Revision: https://developer.blender.org/D5395 Reviewers: brechrt
2019-07-31Sculpt/Paint: Brush curve presetsPablo Dobarro
This patch introduces the same presets that are used for proportional editing in the brush falloff menu. The user can select any of these presets or use the regular custom falloff curve. The presets are hardcoded formulas, so the falloff curve is not used when they are active. This change improves the general feeling of the brushes and it is more convenient and simpler to use. The CUSTOM curve option should now be used in the case that an unusual deformation is needed, in other cases, the hardcoded curve presets should be the default. The smooth curve presets is a must in the grab brush, as it fixes the deformation issue with the current custom curve setting. The user may try to adjust the deformation by tweaking the curve, but it is nearly impossible to replicate this desired behavior. {F7636217} Other brushes that are included in the sculpt branch also rely on this as they need specific hardcoded falloffs to produce the desired effect. Reviewers: brecht, billreynish Reviewed By: brecht Subscribers: JulienKaspar Differential Revision: https://developer.blender.org/D5367
2019-07-29Fix T67331: Annotations: Rename old grease pencil panelsAntonioya
These panels were using the old names, but now they are not grease pencil, but annotations. Also removed old Tools panel. This must be replaced with new Toolbar
2019-06-27Masking: make image editor UI consistent with clip editorSebastian Koenig
* Mask Display menu is now part of the header * Sidebar now has a separate Mask tab * Add context menu when in mask mode Differential Revision: https://developer.blender.org/D5102
2019-06-27Fix T65010: Affect options not being displayed in the UV editor snap settings.mano-wii
Reviewers: brecht, billreynish Reviewed By: brecht Differential Revision: https://developer.blender.org/D5141
2019-06-21Cleanup: use trailing commas for multi-line argumentsCampbell Barton
2019-06-11Fix T65393: Error live editing UI scriptsCampbell Barton
Disable relative imports for UI scripts.
2019-06-02UI: Fix small naming inconsistency in the UV Editor View menuWilliam Reynish
Now it's consistent with 3D View
2019-05-28Cleanup: unused args/varsCampbell Barton
2019-05-24UI: Tweaks to Compositor headerWilliam Reynish
- Move Auto Render into Options panel in sidebar - Move Pin to the right and remove emboss - Move Background to the right and use greying out to avoid jumping UI elements Also remove emboss from pin toggle in Image Editor for consistency
2019-05-23Image space, view menu: Fix access uninitialized variableSergey Sharybin
Seems to be a copy-paste mistake in 7a2b203, causing menu to be almost empty.
2019-05-21Cleanup: pep8Campbell Barton
2019-05-20UI: add entry to show/hide tool settings bar to the View menuBrecht Van Lommel
2019-05-19UI: expand more image editor scope panels by defaultBrecht Van Lommel
Better to show all information about the image at once, there is enough space since they are in their own category.
2019-05-17Images: changes to avoid losing new images that have not been savedBrecht Van Lommel
The basic idea is that such new images will be packed into the .blend file when saving all modified images from the quit dialog. To make this workflow nicer a number of changes were made to how this type of packed image is handled. * "Save Modified Images" now packs generated images into the .blend file. * "Save As" for packed images now automatically unpacks the image, so that it's easy to save automatically packed images. "Save Copy" keeps it packed. * "Save" for packed images now re-saves the image into the .blend file, so that it's effectively the equivalent of "Save" for non-packed images. * Empty image filepaths are no longer remapped when saving the .blend file. Previously it would become e.g. "//../../" which makes no sense for generated images with no filepath yet. * Hide unpack button and filepath for such packed images with no filepath. Unpacking does not work in a predictable way without a filepath, better to just "Save As".
2019-05-17Images: make it harder to accidentally undo image texture painting changesBrecht Van Lommel
Editing properties like generated X/Y size clears any changes to the image, and it's not obvious that this is destructive. Now if the image has been painted on or baked to, buttons to Save or Discard changes will appear and editing the properties will be disabled until doing one of these.
2019-05-16Images: move save modified images operator from Python to CBrecht Van Lommel
We will use this for saving images along with the .blend file. Ref D4861
2019-05-15Cleanup: de-duplicate active tool panelCampbell Barton
2019-05-03UI: Display panel tweaksWilliam Reynish
- Use Display As rather than Draw Type, following naming conventions - Rename Advanced subpanel to Stretching, since that more accurately describes what it's for
2019-05-01UV Sculpt: improve tool-system integrationCampbell Barton
In 2.7x UV sculpt was a kind of sub-mode (a toggle with it's own key-map & drawing code). Move this to an operator that uses the tool-system, this simplifies internal logic, especially brush selection which now matches sculpt and other paint modes. - Remove toggle used to enable uv sculpt. - Expose the brush, which was already used but there was no way to select different brushes. - Make UV sculpt use paint paint tool slots (using brushes how all other paint mode currently do). - Move UV Sculpt keymap to the tools keymap. - Remove Q to toggle UV sculpt mode, S/P/G keys to switch tools.
2019-05-01UI: show UV sculpt panels in the image editorCampbell Barton
2019-05-01UI: move image paint panels into the image side-barCampbell Barton
- Move painting brush panels into the image side-bar. - Add active tool panel to the image side-bar.
2019-04-30UI: show transform options in image header when topbar is hiddenCampbell Barton
Matches 3D view behavior.
2019-04-30UI: reorganize proportional editing optionsCampbell Barton
- Move connected & projected into individual toggles. - Top-level proportional editing button now only toggles. - Use popover for proportional edit-mode falloff and options. Note that it's no longer possible to toggle connected via key bindings, although this could be supported again if it's needed. Resolves T58081
2019-04-29Fix T63977: UV select linked has no attribute 'extend'Campbell Barton
Also enable undo + register for select linked.
2019-04-20UI: remove redundant row for header templateCampbell Barton
If it's members need to be aligned the template can handle it.
2019-04-19Cleanup: logical checks in UI scriptsCampbell Barton
2019-04-19Cleanup: correct misleading classmethod argCampbell Barton
2019-04-19Cleanup: mark unused arguments in UI scriptsCampbell Barton
Quiet's pylint W0613 warning, also remove some unused args.
2019-04-19UI: move top-bar into the spaces headerCampbell Barton
Currently this is only in the 3D viewport however all spaces that use the tool-system will have this region added. D4680 by @brecht with own updates.
2019-04-18Images: support packing edited images as OpenEXR or PNG.Brecht Van Lommel
This way float and multilayer images can now be packed without data loss. This removes the as_png option and always uses the appropriate file format depending on the image contents.
2019-04-18UI: option to toggle 'Adjust Last Operation'Campbell Barton
2019-04-18UI: move region toggling to propertiesCampbell Barton
Each space had separate operators, duplicating logic. Use RNA properties instead so adding the ability to toggle other region types (floating redo region for eg) doesn't need to have an extra operator per space type. It's also nicer to show a check-box for something which can be toggled.
2019-03-20Cleanup: unused varsCampbell Barton
2019-03-19UI: Make Brush Display panel consistent between Image Editor and 3D View ↵William Reynish
texture painting -Slightly simplify in both places too