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-03Fix issues with calling View2D zoom operators in an `EXEC` contextJulian Eisel
Multiple related issues: * `view_zoomdrag_exec()` required `view_zoomdrag_init()` to be called first to set up data. Can now easily be done in the `_exec()` function as well though. * Because of that the operators could not be called in an `EXEC_` context (e.g. `EXEC_REGION_WIN`). * With "Zoom to Mouse Position" enabled, zooming from a menu or script would zoom to the mouse position. That should only happen if the operators are called directly in the editor.
2020-10-03Fix invalid temp-dir for image-project on unsaved filesCampbell Barton
The preferences tempdir being used instead of bpy.app.tempdir.
2020-10-02License: Rename GPL2 license to match the name specified in copyright.txtDalai Felinto
The license was renamed GPL-license.txt => license/GPL-2.0txt in 0434efa09ddc451. Although the renaming made all the license files consistent, we are better off not updating the copyright file in Blender. Instead we can live with some mild inconsistency in the license names.
2020-10-02Cleanup: use raw-strings for regex in console completionCampbell Barton
2020-10-02Cleanup: pep8 (indentation, spacing, long lines)Campbell Barton
2020-10-02Cleanup: pep8, blank linesCampbell Barton
2020-10-02Cleanup: trailing spaceCampbell Barton
2020-10-01Sculpt: Cloth Simulation Dynamic area modePablo Dobarro
This simulation area mode moves the active area with the brush. When enabled, the cloth brush has no restrictions on stroke length, area or mesh vertex count. In order to work, this enables PBVH nodes dynamically for simulation as the stroke location moves and builds the constraints for new nodes during the stroke. When a node is not inside the simulated area, all the constraints that were created for it and vertex collisions are not computed. The simulation limits falloff areas and constraints tweaking control how the simulated and no simulated nodes blend. Reviewed By: sergey, zeddb Differential Revision: https://developer.blender.org/D8726
2020-10-01Cleanup: remove trailing whitespaceJacques Lucke
2020-10-01Volumes: support lower resolution in viewportJacques Lucke
The adds a new option to simplify volumes in the viewport. The setting can be found in the Simplify panel in the render properties. Volume objects use OpenVDB grids, which are sparse. For rendering, we have to convert sparse grids to dense grids (for now). Those require significantly more memory. Therefore, it's often a good idea to reduce the resolution of volumes in the viewport. Reviewers: brecht Differential Revision: https://developer.blender.org/D9040 Ref T73201.
2020-10-01Fix missing UI elements for the new Brown-Conrady distortion modelIvan Perevala
Differential Revision: https://developer.blender.org/D9072
2020-09-30Cleanup: convert gforge task ID's to phabricator formatValentin
Cleanup old tracker task format to the new. e.g: [#34039] to T34039 Ref D8718
2020-09-30Cleanup: use 'use_' prefix for RNA booleansCampbell Barton
Some of the naming was quite misleading.
2020-09-30UI: Remove second person in warning messageHans Goudey
This phrasing can feel like an accusation, and a simpler phrase gets across the idea just as well.
2020-09-29Sculpt: Line Project Gesture toolPablo Dobarro
This tool projects all vertices to the right of the plane defined by the line gesture towards the plane. By doing this, this tool can create cuts and plane surfaces in the mesh without modifying the geometry or using boolean operations, so it is much faster than bisecting the mesh for cases where the geometry was going to be remeshed afterwards. Added as experimental as it does not have icon. Reviewed By: sergey, Severin Differential Revision: https://developer.blender.org/D9021
2020-09-26Sculpt: Line gestures and Mask Line toolPablo Dobarro
This adds support for line gesture to SculptGestureContext and implements a Mask Line tool, which affects everything to the right of a plane defined by the straightline gesture. For this to work, a new WM_gesture_straightline_oneshot_modal is needed which only runs exec when the gesture is over. Added as experimental as it does not have icon. Reviewed By: Severin Differential Revision: https://developer.blender.org/D8722
2020-09-25GPencil: Fix unreported missing context menu for pinned modeAntonio Vazquez
When the mode was pinned, the context menu did not display the color wheel for the vertex color mode.
2020-09-25Fix tool-system index error with mode-specific tools added to groupsCampbell Barton
It was possible to have invalid indices when a script registered a tool into an existing group of tools. Address issue raised by D7436
2020-09-25Keymap: orbit/pan preference now applies to the track-pad as wellYevgeny Makarov
Ref D7279
2020-09-25Object: Move Switch Active Objects to experimentalPablo Dobarro
The operator has some problems with Undo, so better put it in experimental for now. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D9007
2020-09-24ISC and Boost licensesDalai Felinto
2020-09-24Move license files to license subfolderDalai Felinto
For the final builds instead of leaving all the license files in the main folder, we move them to a "license" folder. Also, adding more licenses here (MIT, Apache, ...). Differential Revision: https://developer.blender.org/D8999
2020-09-23Fix T81069: Can't lock axis with move anymore, using Shift+MMBGermano Cavalcante
This fixes and reverts commit c7287ffaec59cecd4b63b4bb2ea1aaf44f09f704 Due to hardcodded keys, the modifier for auto contrain plane did not work with custom keymaps and was in conflict with other keyitems. Its usability is also confusing since it cannot be used without `MOD_PRECISION` But instead of removing it, it is better to make this modifier compatible with custom keymaps and keep the conflict.
2020-09-23Fix T81081: GPencil preset errorPhilipp Oeser
Caused by still having 'texture_opacity' in the preests and the preset operator (but this was removed in the 2.83 rewrite). Maniphest Tasks: T81081 Differential Revision: https://developer.blender.org/D8990
2020-09-23Windows Release: Script creation of MSIX packageNathan Letwory
Script create_msix_package.py will download the ZIP file from the given URL. It will create the MSIX package with the version number and publisher ID given. Strongly recommended are the path to a valid PFX file, and the password to use that PFX file. These are needed for signing the resulting MSIX package. The signing step is optional though, but the resulting MSIX package cannot be installed outside of the Microsoft Store Example set VERSION=2.83.2.0 set URL=https://download.blender.org/release/Blender2.83/blender-2.83.2-windows64.zip set PUBID=CN=PUBIDHERE set PFX=X:\path\to\cert.pfx set PFXPW=pwhere python create_msix_package.py --version %VERSION% --url %URL% --publisher %PUBID% --pfx %PFX% --password %PFXPW% Requirements: * Python default from the Microsoft Store should do (3.8) * requests can be installed with `pip install requests` Note that for an LTS release that gets uploaded to its own LTS application release in the store you need to specify the `--lts` switch on the command-line to the script. Upon completion there will be a file with the name blender-2.83.2.0-windows64.msix. In case PFX file and its password were given on the command line MSIX package will also be signed for the Microsoft Store. Related Wiki page: https://wiki.blender.org/wiki/Process/Release_On_Windows_Store Reviewed By: jbakker Maniphest Tasks: T77348, T79356 Differential Revision: https://developer.blender.org/D8310
2020-09-23LibOverride: Add operator to convert a proxy object into an override.Bastien Montagne
In the end the process is surpringly simple, we only need to manually convert the proxy itself into an override (which is trivial), and then run common code with the default 'make override' operation. Fix T81059: Add operator to convert proxies to library overrides.
2020-09-23Keymap: use release event instead of clickCampbell Barton
Minor change to last commit, prefer release as click depends on not moving the mouse cursor.
2020-09-23Keymap: use D-key click to avoid conflict with grease pencil drawingCampbell Barton
2020-09-22GPencil: Improve default brush draw modeAntonio Vazquez
Mainly a UI adjustment, no functional changes To have the default mode in the advanced panel as separated option is not the best solution. Now, there is a pin option and when it is enabled, the brush keeps this mode. Differential Revision: https://developer.blender.org/D8974
2020-09-22Fix T81026: Image Editor: Alpha (like Bloom) not showing properlyJeroen Bakker
With the new image editor drawing there were was some mutual exclusive functionality. When rendering the alpha was shown correctly or the pure emissive colors were shown correctly, but never both. The cause of this is that the image_gpu did not used the correct alpha mode when generating gpu textures for non-images (render results, compositors viewer) The implementation always checked the alpha_mode. Alpha mode is an attribute for images, but aren't set for non images. This patch adds a more detailed check to ensure that the gpu texture is premultiplied. The issue has been tested using several bug report files and production files. Reviewed By: Brecht van Lommel Differential Revision: https://developer.blender.org/D8978
2020-09-22UI: Add curve geometry start and end panelHans Goudey
The placement of the start and end factor and mapping settings for curves has been quite misleading for a long time. They were in the "Bevel" subpanel, but they aren't related to bevel because they affect curves with only extrusion and no bevel. This commit moves these properties to their own subpanel, labeled "Start & End Mapping". Differential Revision: https://developer.blender.org/D8910
2020-09-21GPencil: New Trace images using PotraceAntonio Vazquez
This patch adds a new operator to convert a black and white image into grease pencil strokes. If the image is not B/W, an internal conversion is done. This is the first operator using Potrace, but we expect to add more features in next Blender versions. Reviewed By: HooglyBoogly Maniphest Tasks: T79877 Differential Revision: https://developer.blender.org/D8951
2020-09-21Various fixes in UI messages.Bastien Montagne
Along some other typos in comments or variable names.
2020-09-20GPencil: Small tweak to Fill panel for HoldoutAntonio Vazquez
For gradient, put the parameter below both colors.
2020-09-20GPencil: Move Holdout parameter below Base ColorAntonio Vazquez
It's better keep this parameter here instead to put it at the end of the panel.
2020-09-20UI: Gray out fade inactive geometry overlay slider when offHans Goudey
The slider should be inactive when the setting is turned off like the wireframe slider.
2020-09-20Fix T61985: NLA Bake exception baking pose with non-pose selectionCampbell Barton
2020-09-20UI: Always set curve fill mode inactive for object bevel typeHans Goudey
The bevel type is a more useful check for graying out this property because its effects will be apparent before choosing an object. Before, the fill type property would only gray out with a bevel object selected.
2020-09-19Fix light rotation slider in Lookdev popover being disabledPablo Dobarro
Light rotation is supported both in world and view light orientation in lookdev, so no reason to disable it. Reviewed By: Blendify Differential Revision: https://developer.blender.org/D8958
2020-09-18UI: Remove colons in property namesHans Goudey
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-18Unify all XYZ symmetry options using Mesh SymmetryPablo Dobarro
This adds XYZ symmetry as a property of meshes and updates all modes to use the mesh symmetry by default to have a consistent tool behavior between all modes and when switching objects. Reviewed By: brecht, mano-wii, campbellbarton Maniphest Tasks: T79785 Differential Revision: https://developer.blender.org/D8587
2020-09-18Object: Switch Object operatorPablo Dobarro
This object operator exits and frees the edit data of the current object and enters the same mode in another one in a single step, without going through object mode or keeping multiple edit object data active. It is assigned to the D key. This solves all conflicts that the right/click select keymap and the emulate 3 button mouse produces for this operation and it is independent of the state of Lock object modes. Also, as the SculptSession is freed, when using Multires objects go back to their preview resolution level, so it is possible to work on high vertex count scenes without slowing down the viewport and other performance problems. Reviewed By: #user_interface, pablovazquez Differential Revision: https://developer.blender.org/D7510
2020-09-18Overlay: Fade Inactive GeometryPablo Dobarro
This implements a new overlay that blends the bakground color over the objects that are not in the same mode as the active object, making them fade with the background. This is especially needed for sculpt mode as there is no other overlay or indication in the viewport to display which object is active. This is intended to be used with D7510 in order to have a faster workflow when sculpting models with multiple objects. Reviewed By: fclem Differential Revision: https://developer.blender.org/D8679
2020-09-18LookDev: Lock HDRI rotation to ViewPablo Dobarro
This adds an option for the HDRI rotation to follow the view rotation. When this option is enabled, this allows EEVEE materials to be used as matcaps for sculpting and painting. This has an extra performance cost when orbiting around the model as the lookdev cache needs to be recalculated, but in my test it is barely noticeable. Reviewed By: fclem Differential Revision: https://developer.blender.org/D8566
2020-09-18GPencil: Implement Holdout materialsAntonio Vazquez
This new feature allows to use the strokes as an eraser of any stroke below. This is very handy to open holes in filled areas. After running some tests, we have decided to keep the additive effect of the holdout color. To get clean holdout areas, just move the color to black to remove any additive effect. To have additive effect can be used in situations like tint slightly a transparent window with blue to simulate the glass. See T79878 for more details Differential Revision: https://developer.blender.org/D8932
2020-09-18Fix T80905: GPencil: bones cannot be selected using Ctrl + LMB (with Left ↵Philipp Oeser
Selection Preference) Was missing a dedicated entry for LMB select, this is to be consistent with how it is done for meshes. Maniphest Tasks: T80905 Differential Revision: https://developer.blender.org/D8935
2020-09-17Shaders: add emission strength input to Principled BSDF nodeAlex Strand
This impacts I/O add-ons. OBJ, FBX and Collada have been updated, glTF not yet. Differential Revision: https://developer.blender.org/D4971
2020-09-17Cleanup: don't register dope-sheet header typesCampbell Barton
These are only used to hold static methods, there is no reason to register them.
2020-09-17Fix T63651: ImagePreviewCollection.new,load don't work as documentedCampbell Barton
Update doc-strings, add note for why this decision was made.