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-12Timer: Use explicit re-initialization on file loadSergey Sharybin
Before this the timer API was relying on using a callback API to do initialization when new file is loaded. This isn't how rest of Blender works and it gets in a way because callbacks API is to be move to the BKE level. Use explicit call to timer API from where the file is loaded.
2019-09-12Cleanup: sort struct, file listsCampbell Barton
2019-09-12UI: Allow file number shortcuts ouside main regionJulian Eisel
Makes the numpad + and - type of shortcuts to increase/decrease the file number suffix work in the upper and lower bar of the file browser. Had to add keymap handlers to the execute region for this to work.
2019-09-12Edit Mesh: select interior faces now detects regionsCampbell Barton
The previous method only worked in simple cases where faces were surrounded by non-manifold edges. Now face regions surrounded by non-manifold edges are marked as interior. Starting with regions most perpendicular to the surrounding geometry. Resolves T68401
2019-09-12Fix T67756: File drag starts on file browser openJulian Eisel
When the file browser was opened (from a temporary window since the file browser redesign) using a button in the UI, under certain conditions moving the mouse would trigger files to be dragged. Note that this has been an issue before the new file browser design was introduced, although under slightly different conditions. Steps to reproduce: * With factory settings, press F12 * Open a different image in the appearing Image Editor (not Render Result) * Make sure the window is not maximized * Press N to open the side bar, open Image tab * Click the folder icon there to change the image * Change to thumbnail display type in the appearing file browser * Cancel, click the folder icon again Moving the mouse now would start dragging files in most cases. The same issue could be reproduced in a similar way when installing lights/MatCaps or HDRIs through Preferences -> Lights -> Install...
2019-09-12Fix T69634: GPencil:Cutter Tool removes unexpected strokes on another layerAntonio Vazquez
The function was not checking the locked flag.
2019-09-12Fix crash closing stacked file browser windowJulian Eisel
Caused by ab823176d31dc1. Steps to reproduce were: * Open Preferences * Open file browser through Lights -> Install (doesn't matter which) * Close browser through the window controlls The window was freed earlier, but still referenced by new handler context storage.
2019-09-12Partially revert "Cleanup: use post increment/decrement"Campbell Barton
This partially reverts commit 0b2d1badecc48b5cbff5ec088b29c6e9acc5e1d0 Post increment can deep-copy for C++ iterators, while in my own checks GCC was able to optimize this to get the same output, better follow C++ best practice and use pre-increment for iterators.
2019-09-12Fix redo panel button alignmentCampbell Barton
Menu's in the redo panel left a space for decorators.
2019-09-12Fix two bugs in delaunay blenlib function.Howard Trickey
Bugs were: (1) needed an epsilon test in CCW test in order to handle new costraint edge that intersects an existing point but only within epsilon; (2) the "valid bmesh" output mode sometimes left a face that included outside frame point.
2019-09-12Cleanup: use post increment/decrementCampbell Barton
When the result isn't used, prefer post increment/decrement (already used nearly everywhere in Blender).
2019-09-12Fix saving images from temp Image Editor failingJulian Eisel
Steps to reproduce were: * Ensure //Render//->//Display Mode// is //New Window// * F12 * In the opened Image Editor, Alt+S to save the image * Save the image The saving would fail silently. Issue was that wm_handler_op_context() would fail to find the correct area to activate, as the wrong window was active in context. So allow overriding this window and do so when creating the file-select handler.
2019-09-12Cleanup: includes in headersCampbell Barton
Forward declare structs where possible.
2019-09-12Cleanup: style, spellingCampbell Barton
2019-09-12EEVEE: Shadows: Fix correlation issue between Shadows and Anti-AliasingClément Foucault
To fix this, we just scramble the halton sequence by multiplying by a large prime number. It seems to work fine in practice. We also tried Sobol sequence but it has a less uniform pattern for low number of sample. Fix T68594 Eevee: Soft shadows causing flickering in animation and temporal AA in scenes
2019-09-12EEVEE: Shadows: Fix incorrect shadowing near point lights sourceClément Foucault
2019-09-12Fix T68843: wireframe node in Eevee fails on macOSJean First
Differential Revision: https://developer.blender.org/D5712
2019-09-12Fix T69597: Changing Grease Pencil Layer in Dopesheet unlocks all layersAntonio Vazquez
The Dopesheet was unlocked all layers because it was using the same logic used in UI panel, but this was wrong.
2019-09-12Python API: implement an Operator callback for dynamic description.Alexander Gavrilov
Blender UI Layout API allows supplying parameters to operators via button definitions. If an operator behavior strongly depends on its parameters, it may be difficult to write a tooltip that covers all of its operation modes. Thus it is useful to provide a way for the operator to produce different descriptions based on the input info. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5709
2019-09-12Fix T68796: stereo side-by-side and pageflip not drawing correctlyBrecht Van Lommel
2019-09-12EEVEE: Fix Ambient Occlusion on backfacesClément Foucault
N is already the Facing normal! Dummy!
2019-09-12UI: File Browser Preview OutlinesHarley Acheson
File Browser image thumbnails get just a contrasting outline and no shadow. Differential Revision: https://developer.blender.org/D5708 Reviewed by Brecht Van Lommel
2019-09-12EEVEE: Fix bump mappingClément Foucault
Fix issue in latest patch and assure derivatives calculation is correct on all GPU.
2019-09-12GPencil: New option to fade not selected objectsAntonio Vazquez
Before, it was only possible to fade the active object. The new option allows to fade all non gpencil selected object. This is a common request by artists. {F7719513} Reviewers: mendio, pepeland Reviewed By: mendio Differential Revision: https://developer.blender.org/D5704
2019-09-12Fix T69548: Sculpt scene spacing breaks when object pivot not at originPablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5699
2019-09-12Fix T68950: Adding lots of edge loops to cylinder produces a crashHuseyin Karakullukcu
Instead of fixed size, `IMM_BUFFER_SIZE` is adjustable now. The internal buffer can expand if there is a need a bigger buffer. All other behaviors are still the same. Reviewed By: fclem, #gpu_viewport Differential Revision: https://developer.blender.org/D5570
2019-09-12Eevee: Use manual derivatives for better quality bump.Clément Foucault
We basically duplicate the height map branch plugged into the bump node, and tag each node in each branch as dx/dy/ref using `branch_tag`. Then we add a one pixel offset on the texture coordinates if the node is tagged as dx or dy. The dx/dy branches are plugged into (new) hidden sockets on the bump node. This match cycles bump better but have a performance impact. Also, complex nodetrees can now become instruction limited and not compile anymore. Reviewers: brecht Differential Revision: https://developer.blender.org/D5531
2019-09-12Fix: File browser report popups not showing upJulian Eisel
Popup would be closed immediately after creating, because of incorrect mouse coordinates stored in window (popup is set to close if mouse is some distance away from it). Completes fix for T69581.
2019-09-12UI: File Browser Large Icon UpdateHarley Acheson
Replaces the large icons used in the File Browser with updated versions by Andrzej Ambroz (jendrzych). Differential Revision: https://developer.blender.org/D5698 Reviewed by Brecht Van Lommel
2019-09-12Fix: Rename the dimensions property in Noise nodes.OmarSquircleArt
The `dimensions` property of the noise nodes has been renamed to `noise_dimensions` because it conflicted with and overwrote the `dimensions` property of the base node. Reviewers: brecht, JacquesLucke Differential Revision: https://developer.blender.org/D5705
2019-09-12GPencil: Guides: Refactor and add new ISO optionCharlie Jolly
+ Simplify code, move into own function and run once rather than on every point + Improved snapping when a stroke is between increments + Added ISO grid option for lines specified by Angle under guide settings + Radial snapping mode uses Angle as an offset Differential Revision: https://developer.blender.org/D5668
2019-09-12Fix: File browser errors not reported in the UIJulian Eisel
This is a partial fix, in that it only brings back the banner reports in the status bar. The popups still don't show up but I need to investigate more. It's really ugly that reports rely on wmWindowManager.winactive, but that's how it is... Partialy fixes T69581.
2019-09-12Fix T69536: Setting dimensions for parented objects failsCampbell Barton
Parenting/constraints/delta-scaled all caused setting dimensions to fail. Take the difference between the input scale and final scale into account when applying the dimensions.
2019-09-12Transformation Constraint: implement a Mix Mode option.Alexander Gavrilov
Allow selecting how the new location/rotation/scale is combined with the existing transformation. This is most useful for rotation, which has multiple options, and scale, which previously could only replace.
2019-09-12Transformation Constraint: initialize scale range values to 1 instead of 0.Alexander Gavrilov
2019-09-12Fix failing assert on directory auto-creationJulian Eisel
The failing assert was there before the recent file browser design overhaul. Might have been in there for quite a while in fact. Auto-creation in this case means that the file path would be created if a non-existent path was entered in the file browser path button.
2019-09-12UI: Confirmation prompt for file path auto-createJulian Eisel
This confirmation prompt was there earlier, we removed the prompts for creating new directories all together, but in this case it's reasonable. Without it, it's simply too easy to create new directories by accident.
2019-09-12Cleanup: function groupingCampbell Barton
Also rename widget color blending functions more clearly. - color_blend_v3_v3, was widget_state_blend - color_blend_v4_v4v4, was round_box_shade_col4_r - color_ensure_contrast_v3, was rgb_ensure_contrast
2019-09-12Cleanup: use doxy sectionsCampbell Barton
2019-09-12Viewport Shading: StudioLight IntensityJeroen Bakker
Add option to change the Intensity of the HDRI in the 3d viewport. This works for both EEVEE and Cycles Reviewed By: brecht, fclem Differential Revision: https://developer.blender.org/D5674
2019-09-12Copy Transforms: add a mixing mode option.Alexander Gavrilov
Allow combining location, rotation and scale at the same time, using one constraint. The mixing modes are based on matrix multiplication, but handle scale in a way that avoids creating shear. Reviewers: brecht Differential Revision: https://developer.blender.org/D5640
2019-09-12Copy Rotation: implement new mixing modes that actually work.Alexander Gavrilov
Upon close inspection, the way the Offset mode works in the Copy Rotation constraint makes no sense, and in fact, destroys the rotation of its owner unless either it's single axis, or the order is set specifically to `ZYX Euler`. Since it can't simply be changed because of backward compatibility concerns, replace the checkbox with a dropdown that provides a set of new modes that actually make sense. Specifically, add a mode that simply adds Euler components together, and two options that use matrix multiplication in different order. The Python use_offset property is replaced with compatibility stubs. Reviewers: brecht Differential Revision: https://developer.blender.org/D5640
2019-09-12UI: Bring back features for file path buttonJulian Eisel
Adds back auto-completion and auto-creation (inserting a non-existing file-path would create it) for the file path button. The second feature was left out knowingly, but seems there are reasonable use cases for it. We can't add these features to the button in the Python script, we have to call into C. So using a template to do that. Note that this is based on the old file browser code, I've copied over the TODO comment.
2019-09-12Fix T69498: Crash on export UV LayoutJulian Eisel
Ensure there's a drawable context after the file browser window is destroyed.
2019-09-12Fix T69495: Crash changing action in file browserJulian Eisel
We need to ensure the file browser window doesn't manage the handlers for itself. The special file browser closing code that we used previously isn't needed anymore, wm_window_open_temp() and the handling of EVT_FILESELECT_FULL_OPEN already manage it fine.
2019-09-12UI: tweak 3D view space between navigation gizmo & buttonsCampbell Barton
Align the lower side of the navigation gizmo with the top of the icons.
2019-09-12LibOverride: Initial attempt to ignore missing place-holders IDs.Bastien Montagne
Ideally, when a reference linked ID is missing (and replaced by linking code with an empty place-holder), we should just keep the local overriding datablocks as-is, until broken links are fixed. Not really working yet though, needs more work here...
2019-09-12LibOverride: add a generic macro to check whetehr an ID is overridable.Bastien Montagne
...and use it in code generating library overrides.
2019-09-12LibOverride: give more remapping control to ↵Bastien Montagne
`BKE_override_library_create_from_id()` too. Similar change to the one done for tagged IDs overriding some days ago. We do not always want to remap all local usages of a linked data-block to its new local overriding copy.
2019-09-12Object: Mode switching operatorCampbell Barton
Remove unused OBJECT_OT_mode_set_or_submode, add OBJECT_OT_mode_set_with_submode which can switch to edit mode as well as a sub-mode - currently only mesh select mode is supported (others may be added later).