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-05-18Merge branch 'blender-v2.83-release'Sergey Sharybin
2020-05-18Fix T76849: Duplicate templates show in the New menuCampbell Barton
2020-05-13UI: About Blender DialogHarley Acheson
Adds an 'About Blender' dialog to the 'App' menu to display information like branch and hash. Differential Revision: https://developer.blender.org/D7146 Reviewed by Campbell Barton
2020-04-15UI: default to searching menus instead of operatorsCampbell Barton
Menus from the top-bar, space-header and key bindings are used to gather menus to populate the search popup. Giving better context and default options for operators. Part of T74157 Enabling "Developer Extras" exposes operator search in the Edit menu, as this can be useful for developers to run operators without first exposing them in the interface.
2020-04-01Fix T75222: Crash activating menu searchCampbell Barton
2020-03-24UI: add Blender -> System menuCampbell Barton
Include technical operators here so they're available when using menu-search.
2020-03-24UI: add menu search functionality to operator search menuCampbell Barton
This has some advantages over operator search: - Some operators need options set to be usefully accessed. - Shows key bindings to access menus (for actions that don't have key bindings themselves). - Non operator actions such as check-boxes are also shown. - Menu items can control execution context, using invoke or execute where appropriate so we can control how the operator runs. Part of the design task T74157. This can be tested using the 'Experimental' preferences section or selected in the key-map editor.
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
2020-02-04Fix T58842: Add-ons Import/Export entries disapear when enabling FilterPhilipp Oeser
Addons option This removes the 'use_owner' option feature from rB61c8ed40f5df. (this wasnt working well when addons are enabled and when switching workspaces) Now Addon filtering is just bypassed for Import/Export menus. (by introducing/setting bl_owner_use_filter = False) Maniphest Tasks: T58842 Differential Revision: https://developer.blender.org/D6740
2020-01-06USD Exporter: removed from experimental featuresSybren A. Stüvel
There were two reasons the USD Exporter was listed as experimental: - Originally there was no deduplication of mesh normals & UV coordinates (resolved in rBf5e00f735106b5ec635806a4c795a2bc46ae8369), and - the way materials were exported was incompatible with instancing with USD 19.07. This seems to be resolved with the current version of USD (19.11). Blender (more specifically, `makesdna`) doesn't seem to like empty DNA structs, so I couldn't remove all properties from `UserDef_Experimental`. Instead I have just kept `char _pad0[8]`. Reviewed by: campbellbarton Differential Revision: https://developer.blender.org/D6519
2019-12-20UI: Remove orphan datablocks directly from File->Clean Up menuAntonio Vazquez
Actually, to purge orphans datablock you need go to Outliner, enable Orphan mode and press Purge button (that sometimes is out of the view because the window is too narrow). To have this option hidden make very difficult to users use and understand what means orphan data, so this patch just adds a new Clean Up menu to File menu with this option. This menu could be used in the future for more clean up options. To have a general Clean Up menu is common used in other softwares. Reviewed By: billreynish, mont29 Differential Revision: https://developer.blender.org/D6445
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-13USD: Introducing a simple USD ExporterSybren A. Stüvel
This commit introduces the first version of an exporter to Pixar's Universal Scene Description (USD) format. Reviewed By: sergey, LazyDodo Differential Revision: https://developer.blender.org/D6287 - The USD libraries are built by `make deps`, but not yet built by install_deps.sh. - Only experimental support for instancing; by default all duplicated objects are made real in the USD file. This is fine for exporting a linked-in posed character, not so much for thousands of pebbles etc. - The way materials and UV coordinates and Normals are exported is going to change soon. - This patch contains LazyDodo's fixes for building on Windows in D5359. == Meshes == USD seems to support neither per-material nor per-face-group double-sidedness, so we just use the flag from the first non-empty material slot. If there is no material we default to double-sidedness. Each UV map is stored on the mesh in a separate primvar. Materials can refer to these UV maps, but this is not yet exported by Blender. The primvar name is the same as the UV Map name. This is to allow the standard name "st" for texture coordinates by naming the UV Map as such, without having to guess which UV Map is the "standard" one. Face-varying mesh normals are written to USD. When the mesh has custom loop normals those are written. Otherwise the poly flag `ME_SMOOTH` is inspected to determine the normals. The UV maps and mesh normals take up a significant amount of space, so exporting them is optional. They're still enabled by default, though. For comparison: a shot of Spring (03_035_A) is 1.2 GiB when exported with UVs and normals, and 262 MiB without. We probably have room for optimisation of written UVs and normals. The mesh subdivision scheme isn't using the default value 'Catmull Clark', but uses 'None', indicating we're exporting a polygonal mesh. This is necessary for USD to understand our normals; otherwise the mesh is always rendered smooth. In the future we may want to expose this choice of subdivision scheme to the user, or auto-detect it when we actually support exporting pre-subdivision meshes. A possible optimisation could be to inspect whether all polygons are smooth or flat, and mark the USD mesh as such. This can be added when needed. == Animation == Mesh and transform animation are now written when passing `animation=True` to the export operator. There is no inspection of whether an object is actually animated or not; USD can handle deduplication of static values for us. The administration of which timecode to use for the export is left to the file-format-specific concrete subclasses of `AbstractHierarchyIterator`; the abstract iterator itself doesn't know anything about the passage of time. This will allow subclasses for the frame-based USD format and time-based Alembic format. == Support for simple preview materials == Very simple versions of the materials are now exported, using only the viewport diffuse RGB, metallic, and roughness. When there are multiple materials, the mesh faces are stored as geometry subset and each material is assigned to the appropriate subset. If there is only one material this is skipped. The first material if any) is always applied to the mesh itself (regardless of the existence of geometry subsets), because the Hydra viewport doesn't support materials on subsets. See https://github.com/PixarAnimationStudios/USD/issues/542 for more info. Note that the geometry subsets are not yet time-sampled, so it may break when an animated mesh changes topology. Materials are exported as a flat list under a top-level '/_materials' namespace. This inhibits instancing of the objects using those materials, so this is subject to change. == Hair == Only the parent strands are exported, and only with a constant colour. No UV coordinates, no information about the normals. == Camera == Only perspective cameras are supported for now. == Particles == Particles are only written when they are alive, which means that they are always visible (there is currently no code that deals with marking them as invisible outside their lifespan). Particle-system-instanced objects are exported by suffixing the object name with the particle's persistent ID, giving each particle XForm a unique name. == Instancing/referencing == This exporter has experimental support for instancing/referencing. Dupli-object meshes are now written to USD as references to the original mesh. This is still very limited in correctness, as there are issues referencing to materials from a referenced mesh. I am still committing this, as it gives us a place to start when continuing the quest for proper instancing in USD. == Lights == USD does not directly support spot lights, so those aren't exported yet. It's possible to add this in the future via the UsdLuxShapingAPI. The units used for the light intensity are also still a bit of a mystery. == Fluid vertex velocities == Currently only fluid simulations (not meshes in general) have explicit vertex velocities. This is the most important case for exporting velocities, though, as the baked mesh changes topology all the time, and thus computing the velocities at import time in a post-processing step is hard. == The Building Process == - USD is built as monolithic library, instead of 25 smaller libraries. We were linking all of them as 'whole archive' anyway, so this doesn't affect the final file size. It does, however, make life easier with respect to linking order, and handling upstream changes. - The JSON files required by USD are installed into datafiles/usd; they are required on every platform. Set the `PXR_PATH_DEBUG` to any value to have the USD library print the paths it uses to find those files. - USD is patched so that it finds the aforementioned JSON files in a path that we pass to it from Blender. - USD is patched to have a `PXR_BUILD_USD_TOOLS` CMake option to disable building the tools in its `bin` directory. This is sent as a pull request at https://github.com/PixarAnimationStudios/USD/pull/1048
2019-12-12UI: Add extra bevel options to popover from tool settings barHans Goudey
Also adds a generic popover that can be used whenever an active tool has too many settings than can fit in the horizontal area. The popover calls the active tool's draw_settings with "extra" set to True.
2019-12-06Tool System: experimental fallback tool supportCampbell Barton
Implement T66304 as an experimental option, available under the preferences "Experimental" section. - When enabled most tools in the 3D view have a gizmo. - Dragging outside the gizmo uses the 'fallback' tool. - The fallback tool can be changed or disabled in the tool options or from a pie menu (Alt-W).
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-09-18UI: Move render display type to PreferencesJulian Eisel
Moves the render display type (to choose between rendering in a new window, in a fullscreen area, in an Image Editor, etc) from the scene to the preferences.
2019-09-07Cleanup: style, spellingCampbell Barton
2019-09-03Fix Credits link not working in About menuBrecht Van Lommel
2019-08-31WM: batch rename operatorCampbell Barton
Matches rename active, supports objects, bones, sequence strips & nodes. Support chaining actions, these can be extended, initially support: - set/prefix/suffix - search replace - stripping characters - capitalization.
2019-08-20UI: add URL presetsCampbell Barton
This adds a url-preset operator to simplify opening re-usable links. - Standard websites have their own tool-tip. - De-duplicate logic to get URL's that include version information. - Reporting bugs no longer needs to have all information included in the URL. D5498 by @luisbg with edits.
2019-08-05Cleanup: remove underscore prefix for used varsCampbell Barton
Also remove unused vars.
2019-07-31Fix T66785: Blender Menu As Text When Main Menu CollapsedHarley Acheson
This makes the blender logo menu appear as text if 'Show Menus' is off Differential Revision: https://developer.blender.org/D5244 Reviewed by Brecht Van Lommel
2019-07-10Splash: use red heart icon for development fundBrecht Van Lommel
Now that the development fund image will disappear from the splash, this draws a little more attention to this link.
2019-07-01Docs: for release builds, link to specific manual versionBrecht Van Lommel
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-06-12UI: alternate fix for T65702, handling of auto-saving userprefsCampbell Barton
The behavior for loading factory settings wasn't clear for users. This commit changes the behavior: - Loading factory settings always disables auto-save for the current session. - The internal setting to skip saving on exit is now exposed in the preferences (when enabled). - The menu item "Load Factory Settings (Temporary)" has been removed since it's always temporary. This way users can always reset factory settings without having to consider the combination of options that might cause their preferences to be overwritten at exit. If they want to enable auto-save for the current session this can be done from the preferences.
2019-05-31Fix T65265: File > Quit shortcut assign different depending if file is savedBrecht Van Lommel
2019-05-28Cleanup: unused args/varsCampbell Barton
2019-05-21Cleanup: pep8Campbell Barton
2019-05-20UI: Top bar menu tweaksPablo Vazquez
* Use icon for Blender menu * Move Startup/Factory settings to Defaults submenu under File * Move Preferences under Edit * Move Quit to File
2019-05-17Fix Blender menu not collapsing when Show Menus is disabled.Pablo Vazquez
2019-05-17UI: Use 'Blender' as label for app menu.Pablo Vazquez
The Blender icon can be confusing with some window decorations.
2019-05-16UI: Move Recover operators into own menu under File.Pablo Vazquez
2019-05-16UI: Blender and Help menu tweaks and organization.Pablo Vazquez
Blender menu: - Move Preferences to the top as it is used often. - Introduce two new sub-menus - About - links from Help menu, plus link to license section in blender.org - Support Blender - dev fund, store, they used to be in Help menu. Help menu: - Add links to Tutorials and Support section in blender.org - Add link to Developer Documentation (wiki) - Always show Python API Reference link
2019-05-15Fix missing separator before Save System Info with Developer Extras onBrecht Van Lommel
2019-05-15UI: remove splash from help menuCampbell Barton
Already accessible in the app-menu.
2019-05-15UI: add 'App' menu besides the 'File' menuCampbell Barton
This uses the Blender icon that previously activated the splash. Menu items which apply to the application are located here: startup file, app templates & preferences.
2019-05-15Cleanup: de-duplicate active tool panelCampbell Barton
2019-05-14Preferences: file menu item to temporarily load factory settingsCampbell Barton
It's common to load factory settings as a test without wanting to overwrite your own settings on exit.
2019-05-06UI: Remove wrong use of icon for Rename Active ItemWilliam Reynish
2019-04-29UI: top-bar reorganizationCampbell Barton
This hides the top-bar by default for everything besides paint/sculpt workspaces. - Use the top-bar mainly for active tool settings & popovers panel options. (transform / snap settings are an exception for this convention). - Only show the top-bar (by default) in paint work-spaces (sculpt / texture-paint / grease-pencil). - Add an active-tool panel to the sidebar. - Split 3D view tabs into (Item / Tool / View). D4721 with minor changes. Further work is needed for the top-bar and image-editor.
2019-04-25Fix opening files from splash screenJacques Lucke
2019-04-24UI: Simple confirm dialog when loading new fileJacques Lucke
I also had to make the "New" operator a submenu in the `File Context Menu`, so that you can still select the template. This partially solves T61599. Currently the confirm dialog is not shown when an already existing file is opened. Implementing that requires a bit more work and will be done in a separate patch. Reviewers: brecht Differential Revision: https://developer.blender.org/D4732
2019-04-20UI: correct accidental removal of TOPBAR_PT_nameCampbell Barton
Mistake in 9573bf432c4b0
2019-04-19Cleanup: remove redundant poll functionsCampbell Barton
2019-04-19Cleanup: use staticmethod where appropriateCampbell 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-13Cleanup: add trailing commas to wrapped argsCampbell Barton