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
path: root/source
AgeCommit message (Collapse)Author
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-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-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: 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-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 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-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 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
2019-09-02Return proper RNA path in py console for 'private ID' data.Bastien Montagne
We can now generate a proper path here, make use of it. Note: not sure how property pyrna path is supposed to be accessed? code is similar to the struct pyrna path anyway...
2019-09-02Fix/enhance new RNA path from real ID helpers.Bastien Montagne
Main issue was that `rna_prepend_real_ID_path()` would return nothing in case given path was NULL, when it should actually return the `prefix` computed by `RNA_find_real_ID_and_path()` in that case... Also make return `real_id` pointer optionnal, no reasons to make it mandatory here. And some general naming fixes.
2019-09-02DatablockManagement: Cleanup: get rid of `BKE_collection_copy_master()`.Bastien Montagne
Now that we 'properly' support private ID data in lib management, there is no reason anymore to have that custom func, badly named and by-passing the whole generic ID management code.
2019-09-02DatablockManagement: Fix/sanitize handling of flags for private ID data in ↵Bastien Montagne
copy functions. Not sure exactly why that was working with nodetrees in depsgraph (could be some special code in the despgraph), but we always want to allocate memory for the nodetrees here!
2019-09-02Cleanup: get rid of BKE_collection_master() useless accessor.Bastien Montagne
In its current version that was a totally useless extra layer of crap that we can totally avoid. Plus name was bad too.
2019-09-02DatablockManagement: Cleanup logic of private IDs handling in ↵Bastien Montagne
`BKE_libblock_copy_ex()`. Now that we have the private ID data flag, we can be more simple *and* generic here.
2019-09-02Make Scene Master collection 'Private' ID data, like root nodetrees.Bastien Montagne
Same issue here as with root nodetrees, those are private ID data owned by another ID, and not in Main DB. This requires special handling. there are still quiet a few things to do here, like getting rid of special code for master collection (regular ID copying should handle that just as it already does for root nodetrees), cleanup in ID copying code, etc.
2019-09-02GPencil: Add suport to Poly Curves to Convert to Strokes operatorAntonio Vazquez
The Poly curves were not supported when convert curves to grease pencil strokes, but now are supported. Also, some code cleanup to make it more readable.
2019-09-02Fix T69404: Merge by distance crash with UnselectedCampbell Barton
Error introduced when removing the automerge bmesh operator.
2019-09-02UI: Don't show button context menu for drag-labelsJulian Eisel
While the vast majority of labels would never get a button context menu (as opposed to the regular context menu of this region), draggable labels would still reach code for such context menu creation. From what I can tell only file browser icons/thumbnails and the properties editor data path would be affected. The button context menu doesn't make sense for them, so let the region context menu show up instead. If at some point we want button context menus for specific labels, we can make checks more granular.
2019-09-02GPencil: New Strength mode for Opacity modifierAntonio Vazquez
This new option applies the opacity using the strength of the stroke instead to use the alpha channel of the material. Tested in greasepencil-object branch {F7712796} The vertex group filter has been removed because this filter is not logic in Material mode and must be valid only in Strength mode. {F7713147} Reviewers: pepeland, mendio Reviewed By: mendio Differential Revision: https://developer.blender.org/D5650
2019-09-01GPencil: Set fill material when curve is 2D and has fillingAntonio Vazquez
Now the material is set as fill if the curve is 2D and is filled with a material. This is done in the Convert operator only, because the SVG add-on works totally different due the SVG has more parameters to determine the type of filling.
2019-09-01UI: Active Default Button HighlightHarley Acheson
Buttons marked as the default action are shown in full selected color. Simplification of all the related active_default code. Differential Revision: https://developer.blender.org/D5574 Reviewed by Campbell Barton
2019-09-01Fix transforming origin affecting unselected childrenCampbell Barton
2019-09-01Copy Rotation & Transform: add Euler order override options.Alexander Gavrilov
For reasons similar to drivers, it should be possible to set an explicit Euler rotation order in constraints that use Euler angles. The Transform constraint in a way approaches drivers in its use, in that it effectively alters channels using values of other channels after applying a fixed form mathematical expression. For this reason, instead of just specifying the euler order for its inputs, it uses the same enum as driver variables. However Quaternion components are converted to a weighted pseudo-angle representation as the rest of the constraint UI expects angles.
2019-09-01Fix T69364: GPencil Array Modifiers causes crashAntonio Vazquez
This bug was introduced when adding the support for default materials.
2019-08-31Drivers: support accessing Quaternion rotation channels.Alexander Gavrilov
After adding the Euler order option, it's an easy addition to the enum. The list of channels had of course to be expanded too.
2019-08-31Fix non-functional return argument in new gpencil codeCampbell Barton
Also remove unused arguments.
2019-08-31Fix T66452: Convert Curve to Grease Pencil StrokesAntonio Vazquez
This commit adds support to convert curves to Grease Pencil strokes and create the materials too. Also, there is a new python API. This API is required by the modified SVG import addon to create strokes( see T67065). All curves selected in one operation are converted in the same Grease Pencil object.
2019-08-31Drivers: support explicit euler rotation order for transform channels.Alexander Gavrilov
The meaning of the euler angles completely depends on the rotation order. Currently the rotation order is taken from the target of the driver variable, which somewhat makes sense if it uses euler, but if it's quaternion, then the order is always set to XYZ. Add a new option for the rotation channels of the Transform Channel driver variables that defaults to the old behavior, but allows setting an explicit rotation order.