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
2019-09-04Shading: Extend Noise node to other dimenstions.OmarSquircleArt
This patch extends perlin noise to operate in 1D, 2D, 3D, and 4D space. The noise code has also been refactored to be more readable. The Color output and distortion patterns changed, so this patch breaks backward compatibility. This is due to the fact that we now use random offsets as noise seeds, as opposed to swizzling and constants offsets. Reviewers: brecht, JacquesLucke Differential Revision: https://developer.blender.org/D5560
2019-09-04Move file execute region back to C, fixing bugsJulian Eisel
We moved this to Python too quickly, causing the following regressions: * No auto completion for file names * Additional handling not applied on changes, like automatic extension appending (see file_filename_enter_handle) * Red highlight missing when the file name already exists Note that earlier (before the file browser redesign), this didn't use the panel and layout code at all. So even if it's still not in Python, at least it's integrated into regular panel management now. OS-specific ordering of the open and cancel button is kept. Fixes T69457.
2019-09-04Expose button UTF8 check in UI_interface.hJulian Eisel
Used in following commit.
2019-09-04Shading Modes: Material and Render PreviewJeroen Bakker
This change implements the basics as described in {T68312} for the shading modes. * LookDev shading mode is renamed to Material Preview. It always uses Eevee as renderer, and is intended to provide a fast material preview suitable for texture painting, and texture and material setup. * Rendered shading gains "Use Scene Lights" and "Use Scene World" options similar to current Material Preview. These will be enabled by default. When Use Scene World is turned off, HDRIs will be used for lighting instead. These options are available for EEVEE and Cycles. * Renderers will be able to customize the shading settings panel and add additional settings. Reviewed By: brecht, fclem Differential Revision: https://developer.blender.org/D5612
2019-09-04Fix/cleanup error handling in paths generation for private ID data case.Bastien Montagne
When using new `rna_prepend_real_ID_path()`, caller have to handle the NULL path case and decide whetehr this is a valid case or an error one.
2019-09-04UI: use vertical navigation buttonsCampbell Barton
This addresses crowding in the top right area of the view with the existing header and tool header. D5670 by @CandleComet
2019-09-04Fix T55745: Checker de-select, inconsistent selectionYevgeny Makarov
With these changes, successive selections result in an even pattern.
2019-09-04UI: Rename Select tool to Tweak toolWilliam Reynish
'Tweak' better communicates what this tool is for Differential Revision: https://developer.blender.org/D5597 Reviewers: Brecht, Campbell Barton
2019-09-04Fix T69469: Overrun in file action type RNA enumJulian Eisel
Think it was harmless in practice since we didn't actually enumerate the items, only count them and access the set value. Still...
2019-09-04Armature: add Inherit Scale options to remove shear or average the scale.Alexander Gavrilov
As an inherent property of matrix-based transformation math, non- uniform scaling of a parent bone induces shear into the transform matrix of any rotated child. Such matrices cannot be cleanly decomposed into a combination of location/rotation/scale, which causes issues for rigging and animation tools. Blender bones have options to exclude rotation and/or scale from the inherited transformation, but don't have any support for removing the often undesired shear component. That goal requires replacing simple parenting with a combination of multiple bones and constraints. The same is true about the goal of inheriting some scale, but completely avoiding shear. This patch replaces the old Inherit Scale checkbox with a enum that supports multiple options: * Full: inherit all effects of scale, like with enabled Inherit Scale. * Fix Shear: removes shear from the final inherited transformation. The cleanup math is specifically designed to preserve the main axis of the bone, its length and total volume, and minimally affect roll on average. It however will not prevent reappearance of shear due to local rotation of the child or its children. * Average: inherit uniform scale that represents the parent volume. This is the simplest foolproof solution that will inherit some scale without ever causing shear. * None: completely remove scale and shear. * None (Legacy): old disabled Inherit Scale checkbox. This mode does not handle parent shear in any way, so the child is likely to end up having both scale and shear. It is retained for backward compatibility. Since many rigging-related addons access the use_inherit_scale property from Python, it is retained as a backward compatibility stub that provides the old functionality. As a side effect of reworking the code, this also fixes a matrix multiplication order bug in the Inherit Rotation code, which caused the parent local scale to be applied in world space. In rigger opinion this option is useless in production rigs, so this fix should not be a problem. Reviewers: brecht Differential Revision: https://developer.blender.org/D5588
2019-09-04Fix T63755: Area Stretching OverlayJeroen Bakker
Support for UV Stretching overlay during multi object editing. The VBO now holds the ratios per fase. In the shader these ratios will be compared against the global ratios. The global rations are created from all selected objects. The current implementation does not fit well with the draw module. The plan is to move the drawing of other spaces towards the draw manager what leads to a better fit. Currently the details on this solution is unclear but this requirement will become an attentionpoint in the future design. Reviewed By: fclem Differential Revision: https://developer.blender.org/D5665
2019-09-04Transform: remove X/Y shear tool optionCampbell Barton
Instead use vertical cursor motion for Y axis shear. This removes the shear_axis option completely since we now have two axis options used by shear it's not needed.
2019-09-04Transform: Improve hierarchy in mixed snap edge detection.mano-wii
2019-09-04Fix T69463: File Browser opens off-center on hiDPIJulian Eisel
wmWindow.sizex/y doesn't have system's pixel size applied.
2019-09-04Fix T69467: Temporary Info Editor window crashesJulian Eisel
Code called editor creation twice, once for SPACE_INFO, once for SPACE_EMPTY. Caused by a incorrectly solved merge conflict.
2019-09-04Industry Compat keymap: Add support for tool hotkeys in paint modesWilliam Reynish
Use D for Draw, B for Blur.
2019-09-04Industry Compat keymap: Fix for opening folders in new File BrowserWilliam Reynish
2019-09-04Fix selecting multiple files ignoring first fileJulian Eisel
E.g. box selecting wouldn't allow selecting the first file. Work selection and shift/ctrl selection had similar issues. Code assumed that the first item was the '..' parent item and manually removed it from the selection. I could just remove this special handling, but instead I made the behavior more dynamic. So the file list checks if the '..' item is there and only then applies special treatment. That way we can easily bring the '..' item back or make it optional if wanted.
2019-09-03UI: Minor fixes to Delta Transform panelWilliam Reynish
Removes some wrong gaps appearing
2019-09-03File Browser: Fix Windows Execute/Cancel button orderWilliam Reynish
Was using wrong check for Windows, causing this to fail
2019-09-03Fix T69451: Walk-select in empty directory assertsJulian Eisel
Code assumed the '..' was there, which isn't the case any more. Just early exiting for empty directories is fine.
2019-09-03GPencil: Context menu updateMatias Mendiola
Add missed 'Insert Blank keyframe in All Layers' to context menu Reviewers: antoniov, pepeland Tags: #bf_blender, #grease_pencil Differential Revision: https://developer.blender.org/D5669
2019-09-03GPencil: Fix unreported autolock layers using DopesheetAntonio Vazquez
When select a layer in Dopesheet, the autolock layer was not working. Now the Dopesheet code calls the function for autolock. Also some code cleanup to move the logic to new function.
2019-09-03Drivers: support decomposing rotation into swing followed by twist.Alexander Gavrilov
In order to correctly drive corrective shape keys from a freely rotating organic joint it is very often found necessary to decompose the rotation into separate bending and twisting motions. This type of decomposition cannot be reproduced by any Euler order or a single quaternion. Instead this is done by using a helper bone with a Damped Track constraint aimed at the tail of the control to pick up the bending, and its helper child with Copy Transforms to separate the twist. Requiring two additional bones to drive a shape key or a correction bone seems inconvenient, so this implements the necessary math as new options in the recently introduced Rotation Mode dropdown of the Transform Channel driver variable type. The data is also accessible as a Transformation constraint input. The output is in the form of Quaternion-derived 'pseudo-angles', which for `Swing and Y Twist` would represent the following: * W: true bend angle, independent of bend direction. * Y: true twist angle. * X, Z: pseudo-angles representing the proportion of bending around X/Z. Reviewers: brecht Differential Revision: https://developer.blender.org/D5651
2019-09-03Transform: support snap to children with 'Affect Parents'Campbell Barton
Resolves T69398
2019-09-03Cleanup: expand checks for selection when snappingCampbell Barton
Adding extra checks here was getting unreadable, expand to allow for easier to follow logic.
2019-09-03Fix buildbot unsuccessfully trying to update Blender repository for branchesBrecht Van Lommel
2019-09-03EEVEE: Fix broken bump regressionClément Foucault
Regression introduced by 7f4a2fc437cf9a6decbda152bd7d36ce7a08929f
2019-09-03Cleanup: unused flag, spellingCampbell Barton
2019-09-03UI: File Browser Design OverhaulJulian Eisel
This is a general redesign of the File Browser GUI and interaction methods. For screenshots, check patch D5601. Main changes in short: * File Browser as floating window * New layout of regions * Popovers for view and filter options * Vertical list view with interactive column header * New and updated icons * Keymap consistency fixes * Many tweaks and fixes to the drawing of views ---- General: * The file browser now opens as temporary floating window. It closes on Esc. The header is hidden then. * When the file browser is opened as regular editor, the header remains visible. * All file browser regions are now defined in Python (the button layout). * Adjusted related operator UI names. Keymap: Keymap is now consistent with other list-based views in Blender, such as the Outliner. * Left click to select, double-click to open * Right-click context menus * Shift-click to fill selection * Ctrl-click to extend selection Operator options: These previously overlapped with the source list, which caused numerous issues with resizing and presenting many settings in a small panel area. It was also generally inconsistent with Blender. * Moved to new sidebar, which can easily be shown or hidden using a prominent Options toggle. * IO operators have new layouts to match this new sidebar, using sub-panels. This will have to be committed separately (Add-on repository). * If operators want to show the options by default, they have the option to do so (see `WM_FILESEL_SHOW_PROPS`, `hide_props_region`), otherwise they are hidden by default. General Layout: The layout has been changed to be simpler, more standard, and fits better in with Blender 2.8. * More conventional layout (file path at top, file name at the bottom, execute/cancel buttons in bottom right). * Use of popovers to group controls, and allow for more descriptive naming. * Search box is always live now, just like Outliner. Views: * Date Modified column combines both date and time, also uses user friendly strings for recent dates (i.e. "Yesterday", "Today"). * Details columns (file size, modification date/time) are now toggleable for all display types, they are not hardcoded per display type. * File sizes now show as B, KB, MB, ... rather than B, KiB, MiB, … They are now also calculated using base 10 of course. * Option to sort in inverse order. Vertical List View: * This view now used a much simpler single vertical list with columns for information. * Users can click on the headers of these columns to order by that category, and click again to reverse the ordering. Icons: * Updated icons by Jendrzych, with better centering. * Files and folders have new icons in Icon view. * Both files and folders have reworked superimposed icons that show users the file/folder type. * 3D file documents correctly use the 3d file icon, which was unused previously. * Workspaces now show their icon on Link/Append - also when listed in the Outliner. Minor Python-API breakage: * `bpy.types.FileSelectParams.display_type`: `LIST_SHORT` and `LIST_LONG` are replaced by `LIST_VERTICAL` and `LIST_HORIZONTAL`. Removes the feature where directories would automatically be created if they are entered into the file path text button, but don't exist. We were not sure if users use it enough to keep it. We can definitely bring it back. ---- //Combined effort by @billreynish, @harley, @jendrzych, my university colleague Brian Meisenheimer and myself.// Differential Revision: https://developer.blender.org/D5601 Reviewers: Brecht, Bastien
2019-09-03Fix selection engine checksCampbell Barton
- Don't use vertex selection in texture paint mode. - Don't allow mixing vertex & face flags in vert/weight paint modes.
2019-09-03Fix T69424: Weight paint sample doesn't workCampbell Barton
2019-09-03Fix buildbot Python executable not found on WindowsBrecht Van Lommel
2019-09-03Fix T66950: WeightPaint Bone Selection OverlayJeroen Bakker
In weightpaint it is possible to enable the bone selection mode. During drawing the overlay was rendered, but during selection this was ignored. Users needed to double click in order to select bones even when the overlay was enabled. This patch makes bone selection possible during weight painting using the pose mode bone selection overlay with a single click. Reviewed By: fclem, campbellbarton Differential Revision: https://developer.blender.org/D5629
2019-09-03Fix T69384: Noise Depth widgets steps set to 0Lucas Boutrot
Reviewed By: brecht, lichtwerk Maniphest Tasks: T69384 Differential Revision: https://developer.blender.org/D5652
2019-09-03Fix compiler warning after recent change to splash screen versionBrecht Van Lommel
2019-09-03Fix T62152: Shear X and Y are swappedCampbell Barton
2019-09-03Fix Credits link not working in About menuBrecht Van Lommel
2019-09-03Buildbot: support building releases, make non-releases more consistentBrecht Van Lommel
* Auto detect rc and release version cycle in BKE_blender_version.h. * On Windows, generate zip and installer if a release is detected. * On macOS, always generate a dmg instead of zip. * Use standard package names without hash if a release is detected. * Buildbot package names now match platform names in releases. Ref T67056 Differential Revision: https://developer.blender.org/D5643
2019-09-03Subsurf: Show error when Blender is built without OpenSubdivSergey Sharybin
2019-09-03Add OpenSubdiv information to bpy.appSergey Sharybin
Allows to customize interface and inform about lack of subdivision surface support.
2019-09-03Fix library link errors after building with install_deps.sh on UbuntuBrecht Van Lommel
On some systems this would use the builtin echo command without support for the -e option. Thanks Alexander Gavrilov for helping find this.
2019-09-03Fix empty image wire drawing with front/back depthCampbell Barton
The vertex shaders depth offset was ignored in this case.
2019-09-03Fix T68868: Assert in depsgraph debugging logsSergey Sharybin
Was happening when tagging for LEGACY_0 was used.
2019-09-033D View: option only to show axis aligned image emptiesCampbell Barton
Useful for using reference images that only make sense to see in aligned axis-views. This restores functionality possible with 2.7x background images. See: T52668.
2019-09-03Fix T69326: Parent type ARMATURE doesn't workSergey Sharybin
2019-09-03Depsgraph: Cleanup, more clear variable nameSergey Sharybin
2019-09-03Depsgraph: Cleanup commentSergey Sharybin
2019-09-02Drivers: add separators to the Transform Channel type enum menu.Alexander Gavrilov
It's hard to find things quickly in the wall of '...ation' without breaks.
2019-09-02UI: Fix Bug With Join Area ToleranceHarley Acheson
Join area tolerance not properly checking all vertices on shared edge. Differential Revision: https://developer.blender.org/D5662