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-07Fix 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-07Cleanup: includes in headersCampbell Barton
Forward declare structs where possible.
2019-09-07Cleanup: style, spellingCampbell Barton
2019-09-07EEVEE: 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-07EEVEE: Shadows: Fix incorrect shadowing near point lights sourceClément Foucault
2019-09-07Fix T68843: wireframe node in Eevee fails on macOSJean First
Differential Revision: https://developer.blender.org/D5712
2019-09-07Fix 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-06Python 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-06Fix T68796: stereo side-by-side and pageflip not drawing correctlyBrecht Van Lommel
2019-09-06EEVEE: Fix Ambient Occlusion on backfacesClément Foucault
N is already the Facing normal! Dummy!
2019-09-06UI: 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-06EEVEE: Fix bump mappingClément Foucault
Fix issue in latest patch and assure derivatives calculation is correct on all GPU.
2019-09-06GPencil: 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-06Fix T69548: Sculpt scene spacing breaks when object pivot not at originPablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5699
2019-09-06Fix 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-06Eevee: 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-06Fix: 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-06UI: 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-06Fix: 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-06GPencil: 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-06Fix: 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-06Fix 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-06Transformation 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-06Transformation Constraint: initialize scale range values to 1 instead of 0.Alexander Gavrilov
2019-09-06Fix 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-06UI: 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-06Cleanup: 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-06Cleanup: use doxy sectionsCampbell Barton
2019-09-06Viewport 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-06Copy 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-06Copy 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-06UI: 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-06Fix T69498: Crash on export UV LayoutJulian Eisel
Ensure there's a drawable context after the file browser window is destroyed.
2019-09-06Fix 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-05UI: 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-05LibOverride: 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-05LibOverride: add a generic macro to check whetehr an ID is overridable.Bastien Montagne
...and use it in code generating library overrides.
2019-09-05LibOverride: 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-05Object: 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).
2019-09-05Cleanup: reuse mesh select mode enumCampbell Barton
2019-09-05Fix unreported: snapping to 3d tracking markers sometimes failsmano-wii
2019-09-05Transform: Split transform_conversions into multiple files.mano-wii
Part of T68836 `transform conversions.c` is a file that is getting too big (almost 10,000 lines). So it's a good idea to split it into smaller files. differential revision: https://developer.blender.org/D5677
2019-09-05Fix T69513: Grease Pencil Fade Layers Overlay only works in Material and ↵Antonio Vazquez
Texture Shading The overlay factor was not used in other modes.
2019-09-05Improve some textures UI properties click-drag precisionErik Abrahamsson
When click-dragging to change values in textures (for example Musgrave- >Size to give an example) the step size is too big. Reviewers: brecht, lichtwerk Reviewed By: brecht, lichtwerk Differential Revision: https://developer.blender.org/D5661
2019-09-05Fix T68840: Metaballs update 'NEVER' method not workingPhilipp Oeser
Was always evaluating due to typo in rB34ab90f546f0. Reviewers: brecht Maniphest Tasks: T68840 Differential Revision: https://developer.blender.org/D5695
2019-09-05Eevee: Shadow map refactorClément Foucault
Reviewed By: brecht Differential Revision: http://developer.blender.org/D5659
2019-09-05Cleanup: de-duplicate codeCampbell Barton
2019-09-05Depsgraph: Ensure it's fully evaluated after POST callbacksSergey Sharybin
It is possible that POST callbacks will modify objects or relations. This change makes it so an extra update pass is done if needed. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D5690
2019-09-05UI: use boolean for sequencer reverse framesCampbell Barton
Revert part of 04b86c21bf522 The option to reverse frames is used elsewhere as a boolean which makes sense since reversing playback is a special case.
2019-09-05GPencil: New Operator to set the active object material based on the ↵Matias Mendiola
selected stroke material The operator set as active object material the material used in the selected stroke. Access to the operator were added in the stroke menu and context stroke menu. Reviewers: antoniov, pepeland Tags: #bf_blender, #grease_pencil Differential Revision: https://developer.blender.org/D5692