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-09-12Merge branch 'master' into greasepencil-edit-curveFalk David
2020-09-12Fix T80697: children_recursive returns edit-bones from non edit-boneCampbell Barton
Bone.children_recursive would return edit-bones when in edit-mode irrespective of the type of the bone. Check the type of self instead of the existence of edit-bones.
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-11Image Editor: Enable New DrawingJeroen Bakker
This patch reverses use draw manager for image editor the experimental feature. Now the new drawing is enabled by default. Inside the experimental tab in the user preferences there is now an option to revert back to the old drawing method. Using this option we can easilly check if all drawing features have been migrated over. The plan is to remove the legacy drawing before BCon 3.
2020-09-11Use DrawManager for Image/UV EditorJeroen Bakker
This project moves the current UV/Image editor drawing to the draw manager. Why would we do this: **Performance**: Current implementation would draw each texel per time. Multiple texels could be drawn per pixel what would overwrite the previous result. You can notice this when working with large textures. Repeat image drawing made this visible by drawing for a small period of time and stop drawing the rest. Now the rendering is fast and all repeated images are drawn. **Alpha drawing**: Current implementation would draw directly in display space. Giving incorrect results when displaying alpha transparent images. This addresses {T52680}, {T74709}, {T79518} The image editor now can show emission only colors. See {D8234} for examples. **Current Limitations** Using images that are larger than supported by your GPU are resized (eg larger than 16000x16000 are resized to 8k). This leaves some blurring artifacts. It is a low priority to add support back of displaying individual pixels of huge images. There is a design task {T80113} with more detail. **Implementation overview** Introduced an Image Engine in the draw module. this engine is responsible for drawing the texture in the main area of the UV/Image editor. The overlay engine has a edit_uv overlay which is responsible to draw the UV's, shadows and overlays specifically for the UV Image editor. The background + checker pattern is drawn by the overlay_background. The patch will allow us to share overlays between the 3d viewport and UV/Image editor more easily. In most cases we just need to switch the `pos` with the `u` attribute in the vertex shader. The project can be activated in the user preferences as experimental features. In a later commit this will be reversed. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8234
2020-09-10Sculpt: Enable pen pressure for Scrape/Fill Area RadiusPablo Dobarro
This should improve the issue with Scrape accumulation in concave surfaces. When the strength of the brush is higher, the area radius is also bigger, so the scrape plane is more stable preventing it from accumulating displacement in the same area. The Scrape/Fill default presets are also updated to include this functionality. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8821
2020-09-10Cleanup: Remove outliner edit mode context menu entriesNathan Craddock
The outliner context menu has options to enter and exit edit mode, but they only show in edit mode, and they don't work. This removes the broken entries and related code. Part of T77408 Differential Revision: https://developer.blender.org/D8641
2020-09-10Outliner: Move mode toggling to left columnNathan Craddock
Add a column of icons in the left gutter of the outliner for controlling the interaction modes of objects. When an object is in a mode other than object mode, the mode icon will draw to the left of that object. Any other objects that are valid to be added or swapped into the mode are drawn with a dot to the left of the object. Clicking the dot to the left of an object will swap that object with the current active object in the interaction mode. For edit and pose modes, ctrl clicking the dot will add that object to the current mode. Clicking the mode icon next to the active object removes it and all other objects from the current mode. The behavior is nearly identical to the previous edit/pose mode toggling by selecting the mesh and armature datablocks, with additional support for all interaction modes. Currently two undo steps are pushed to prevent an assert. Part of T77408 Manifest Task: https://developer.blender.org/T68498 Differential Revision: https://developer.blender.org/D8641
2020-09-10Fix T80372: Mantaflow Noise Not working with Smoke/Smoke and FireSebastián Barschkis
Modular caches for noise, particles and meshes require that additional data is baked (i.e. is resumable option). With this commit users will be explicitly asked to enable this option before being able to bake noise, particles or meshes.
2020-09-10Fix T80650: Malformed bl_info header causes empty add-on listingCampbell Barton
2020-09-10UI: Use split layout for world mist settingsAaron Carlisle
Differential Revision: https://developer.blender.org/D7548
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-09Geometry: add Attributes panel for PointCloud and HairBrecht Van Lommel
There is a list of attributes, along with operators to add and remove attributes. For adding, there are a few standard attributes that can be added quickly, as well as a popup to create a custom attribute. Ref T76659 Differential Revision: https://developer.blender.org/D8636
2020-09-09Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
2020-09-09Correct error in last commitCampbell Barton
2020-09-09Cleanup: access context argument instead of bpy.contextCampbell Barton
2020-09-08Revert "Revert "RNA Manual Mapping: Update Mappings""Clément Foucault
This reverts commit de5930333bcd85ede44d6cd1e117b00e5051b728.
2020-09-08Revert "RNA Manual Mapping: Update Mappings"Clément Foucault
This reverts commit f14d24729ff32edffd71b646712e59b640fcddd9. I commited the previous commit because I wasn't building with openvdb. Compiling with openvdb fix the clang-tidy errror.
2020-09-08RNA Manual Mapping: Update MappingsAaron Carlisle
2020-09-08UI: 3D View: Move Live Unwrap to toolbarAaron Carlisle
The menus should be for operators, tool settings belong in the toolbar
2020-09-08Hide tools with missing icons under experimentalPablo Dobarro
This removes from the UI all tools with missing icons and hides them under a "Tools with missing icons" experimental option. We agree on not making available by default tools in master without icons. Having this experimental flag will allow to commit new tools as soon as the technical design and implementation is finished so development can continue, without adding broken icons to the UI. Reviewed By: Severin Differential Revision: https://developer.blender.org/D8831
2020-09-08UI: Aesthetic tweaks to Select All by Type operatorPablo Vazquez
* Match menu items with Add Menu (order and naming e.g. Font -> Text) * Use Icons * Remove ellipsis from the name (policy is to use `...` only when triggering a window/popup) No functional changes. Thanks @HooglyBoogly for the help!
2020-09-07UI: Add temperature unitsHans Goudey
Based on the original patch by Vaishnav S (@padthai), this adds support for temperature units. Initially supported units are Celsius, Kelvin, and Fahrenheit. The units aren't used anywhere with this commit. Those changes should happen in separate patches by adding PROP_TEMPERATURE to RNA property definitions. But it should be ensured that the various solvers and simulations actually properly use real units. The complexity of some of the changes comes from the fact that these units have offsets from each other as well as coefficients. This also makes the implementation in the current unit system troublesome. For example, entering 0C evaluates correctly to 273K, but 0C + 0C doubles that result, because each unit value is evaluated separately. This is quite hard to solve in the general case with Blender's current unit system, though, so it is not handled in this commit. Differential Revision: https://developer.blender.org/D4401
2020-09-07UI: Changes to timeline playback popoverHans Goudey
The current playback popover has some issues: - Using labels instead of headers is inconsistent with the rest of the interface - Incomplete context and description for some properties - Ugly large spacing This commit fixes these problems by using headers. Differential Revision: https://developer.blender.org/D8434
2020-09-07Sculpt: Sculpt Trimming gestures toolsPablo Dobarro
This implements Box Trim as a boolean based trimming too gesture in sculpt mode. This is the intended way to remove parts of the sculpt instead of using box mask and mask slice. It also creates new face sets for the new faces created after the boolean operation. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8766
2020-09-07Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
2020-09-06GPencil: Remove console warning in RENDER_PT_gpencil panelAntonio Vazquez
COMPAT_ENGINE was missing
2020-09-06GPencil: Cleanup unused codeAntonio Vazquez
The poll method is not used
2020-09-05Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
Conflicts: source/blender/blenkernel/BKE_gpencil_geom.h
2020-09-05UI: Masking: Add more transform operators to menuAaron Carlisle
Also use select tweak params for grabbing points
2020-09-05UI: Masking: Reorginize mask menu to be more conistentAaron Carlisle
2020-09-04GPencil: Change Interpolate shortcut to Ctrl+EAntonio Vazquez
Before the shortcut was Ctrl+Alt+E, but it's more logic remove the Alt. Reviewed by: @mendio, @pepeland
2020-09-04GPencil: New option to set steps in Interpolate SequenceAntonio Vazquez
Sometimes interpolate all frames is not convenient and it's better, for example, interpolate in twos. The new parameter allows to define the number of frame for each step, by default is set to 1 as before. {F8812621} This is a request of animators to improve interpolate tools. Reviewed By: mendio Maniphest Tasks: T80190 Differential Revision: https://developer.blender.org/D8723 239b0b
2020-09-04UI: Make UV Editor contextual menu more consistent with 3D ViewAaron Carlisle
Follow up on rB12716e6b9fc74bd53be39ec7aab16ca8d43f0593 See also: rB62774badeda7d13fd3c6af57c632ff3167a608d7
2020-09-03Sculpt: Face Set Extract OperatorPablo Dobarro
This implements a Face Set Extract operator, which is similar to mask extract. This operator uses a picker to select and Face Set in the mesh and extract the geometry directly to a new object. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8599
2020-09-03UI: Expose important settings from file browser popoversHans Goudey
We have established a convention of exposing the most important settings from popovers, then aligning a popover to control more detailed settings. The file browser has powerful display / filtering settings, but they're hidden in popovers at the moment, so it's sometimes a pain to use them. The "display as" options are now exposed to the left of the display settings popover, and the "filter" toggle is exposed to the left of the filter settings popover. This convention is familiar and intuitive for users and makes interaction faster. Note that the "show hidden" item in the filter popover still has an effect if filtering is disabled. This commit also: - Removes the icons in the "Sort By" enum - Uses property split for the "Sort By" enum - Very slightly increases the default width of the file browser window to make room for the new buttons. Differential Revision: https://developer.blender.org/D8719
2020-09-03Sculpt: Sculpt Face Set gestures toolsPablo Dobarro
This implements the sculpt gesture lasso and box operators for face sets. They work the same way as the mask gesture operator and tools. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8716
2020-09-03Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
2020-09-03Quick effects: avoid error in builds without OpenVDBPhilipp Oeser
Differential Revision: https://developer.blender.org/D8626
2020-09-03Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
2020-09-02UI: Use instanced panel custom data instead of list indexHans Goudey
For modifier shortcuts we added a "custom_data" field to panels. This commit uses the same system for accessing the list data that corresponds to each panel. This way the context is only used once and the modifier for each panel can be accessed more easily later. This ends up being mostly a cleanup commit with a few small changes in interface_panel.c. The large changes in the UI functions are due to the fact that the panel custom data is now passed around as a single pointer instead of being created again for every panel. The list_index variable in Panel.runtime is removed as it's now unnecessary. Differential Revision: https://developer.blender.org/D8559
2020-09-02UI: Use property split layout for add torus operatorHans Goudey
Continuing the work from D8326, this commit adds a property split layout to the add torus operator. It also puts the properties common to all object add operators at the bottom for consistency. Differential Revision: https://developer.blender.org/D8748
2020-09-02Make rigidbody simulation handle animated objects gracefullySebastian Parborg
The animated objects was not updated for each internal substep for the rigidbody sim. This would lead to unstable simulations or very annoying clipping artifacts. Updated the code to use explicit substeps and tie it to the scene frame rate. Fix T47402: Properly updating the animated objects fixes the reported issue. Reviewed By: Brecht, Jacques Differential Revision: http://developer.blender.org/D8762
2020-09-02Cleanup: improve internal function name in 'ngon_tessellate'Campbell Barton
2020-09-01Fix T80031: UI: Use a more specific label for stencil mask opacityAaron Carlisle
This is not the opacity of the vertex colors itself but of the stencil mask. Follows up on rBbb4478f2fdd8426d6050bf7b7c09611afeb1bd14
2020-09-01Audaspace: port compilation fix from upstream.Joerg Mueller
2020-09-01Transform: Keymap: Enable Auto Constraint with Middle Mouse + ShiftGermano Cavalcante
2020-09-01Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
2020-09-01Fix constrain plane masking shift eventGermano Cavalcante
This prevented transformation with a precision modifier.
2020-09-01Fix T64267: 'Add Snap Point' does not work with Ctrl pressedGermano Cavalcante