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-10-22Fix T81953: Python error in UV Editor Overlay popupPhilipp Oeser
Leftover from rBe05ce1ea2029, 'use_image_editor_legacy_drawing' was removed. Maniphest Tasks: T81953 Differential Revision: https://developer.blender.org/D9310
2020-10-07UV/Image Editor: Overlay PopoverJeroen Bakker
The overlay options in the image/uv editor is hidden in side panels and menus. Sometimes this panel is even hidden, while still useful. The goal of this task is to introduce an overlay pop-over just like the overlay-popover of the 3d viewport. Popover has * UV Stretching (only available in the UV mode, when active object mode is a mesh and in OB_EDIT mode) * Display As (only available in the UV mode, when active object mode is a mesh and in OB_EDIT mode) * Show Modified (only available in the UV mode, when active object mode is a mesh and in OB_EDIT mode) * Show UV Edges (including opacity slider; available UV, View, Paint, when active object mode is a mesh and in OB_EDIT mode) * Udim tiles when no image is available. Like the 3d viewport, there will be a editor toggle to enable/disable the overlays For compatibility reasons the RNA properties are added to both the `SpaceImage.uv_editor` amd `SpaceImage.overlay`. On DNA level they are still stored in the SpaceImage. only new properties are added to the SpaceImageOverlay struct. During the next major release we could remove these options from `SpaceImage.uv_editor`. This should be noted in the Python section of release notes. Reviewed By: Julian Eisel, Pablo Vazquez Differential Revision: https://developer.blender.org/D8890
2020-10-02Cleanup: pep8 (indentation, spacing, long lines)Campbell Barton
2020-09-18UI: Use property split in UV editor panelsHans Goudey
This is not an exhaustive change, just for the 2D cursor and UDIM grid properties. Also vertically align the "UV Vertex" buttons like in the 3D view panels.
2020-09-15Revert "Image Editor: Make Rendering of Pure Emissive Colors Optional"Jeroen Bakker
This reverts commit f492c8d488b7eb2166ca894e10a8128a1678a885.
2020-09-15Image Editor: Deactivate show repeat for UDIMJeroen Bakker
UDIM textures cannot be repeated, but the option didn't communicate this. This change makes the Show Repeat option inactive when viewing Tiled images
2020-09-15Image Editor: Make Rendering of Pure Emissive Colors OptionalJeroen Bakker
There are some areas that don't handle pure emissive colors well. For example erasing alpha using 2d or 3d painting. Or blurring an image in the compositor. This patch makes the rendering of pure emissive colors optional. In the side panel of the Image editor it can still be enabled when needed. There currently isn't a better place to store it as it is related on how the image (or a layer of the image) is created. A future design needs to make sure that the full workflow is supported.
2020-09-11Image Editor: Smooth Wire User PreferencesJeroen Bakker
The old image editor has an option to enable the smooth wire drawing. This option was stored per editor and disabled by default. This patch connects the smooth wires in the UV/Image editor to `User Prefereces -> Viewport -> Quality -> Smooth Wire [] Overlay`. The old option is left in place and will be removed when the old image editor drawing code will be removed before BCon 3.
2020-09-10UI: Add Missing UV Unwrap Operators to UV EditorAaron Carlisle
This commit also changes the U shortcut to open the unwrap menu instead of the Unwrap operator. The unwrap operator can now be accessed by pressing U twice. Note, these operators use the 3D Viewports selection and not the UV Editor selection. In the future the operators should unwrap based on the selection within that editor. Fixes T80600 Differential Revision: https://developer.blender.org/D8834
2020-09-04UI: Make UV Editor contextual menu more consistent with 3D ViewAaron Carlisle
Follow up on rB12716e6b9fc74bd53be39ec7aab16ca8d43f0593 See also: rB62774badeda7d13fd3c6af57c632ff3167a608d7
2020-08-14UI: Remove cutoff text in popovers for 2.90 releaseHans Goudey
Many of these popovers could use a design pass in 2.91, but for 2.90 we don't want to change any UI strings at this point, so the best way to solve the cutoff text is to widen the popovers. Sadly this won't affect popovers when other languages besides English have longer strings, but solving that is a much larger task. Another benefit is that tweaking sculpt / paint brush options feels much less cramped with slightly wider popovers. I only know of one string that is still slightly cutoff by default with this patch, the "Max Element Distance" property of the pose brush in the sculpt mode brush settings popover. But I didn't think it was worth widening that popover more to deal with that one case. Differential Revision: https://developer.blender.org/D8575
2020-07-16UI: show connected icon for proportional editing in the image spaceCampbell Barton
2020-07-11UV: add path select operator that uses the selectionCampbell Barton
Instead of using the mouse cursor position, this selects between existing selected elements. Access this since picking a selection path doesn't work from the menu.
2020-07-10UI: UV: Add Select Shortest Path to menuAaron Carlisle
This matches the 3D Viewport
2020-07-07UI: add merge/split menusCampbell Barton
This makes the menus and keymap match the edit-mesh (M for merge, Alt-M for split).
2020-05-22Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-22UV: remove "UV Local View" for UV editingCampbell Barton
This feature was added when Blender used tex-face (per-face images), but doesn't make as much sense since this was removed. Removing this from UV edit-mode as this wasn't working in any of the 2.8x releases, causing UV's to be visible but unselectable. Resolves issue raised in T76958.
2020-05-12UI: Rename 'View All' operator to 'Frame All'Pablo Vazquez
This change was done time ago but it was still missing in some operators.
2020-04-21UV: add Reset operator to menu in uv editorMiguel Porces
Differential Revision: https://developer.blender.org/D7482
2020-04-16UV: support changing the opacity of the UV overlayCampbell Barton
Add this option as it's useful to adjust how much UV's cover the image when UV mapping. D5348 by @EitanSomething with edits
2020-04-09Fix menu search referencing image menuCampbell Barton
In this case it was called mask which wasn't correct since it's used for image & UV's, so rename the menu instead.
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.