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
2020-10-21UI: Move Properties path pin button next to the data-pathJulian Eisel
The pin button should be next to the data-path, which is what it belongs to. Note that this makes the placement of the search button in the header look quite off. That is because it's centered to the absolute header width, not the width of the main region (which is smaller because of the tab region on the left). Technically it's correct that way, visually it looks wrong. This will be addressed in a followup commit.
2020-10-21GPencil: Fix unreported problem with strokes bounding box that makes ↵Antonio Vazquez
impossible sculpt When the stroke was not flat, the bounding box projected could not be right and the strokes could not be painted or sculpted. Now, the 2D bounding box is calculated using the extremes of the 2D bounding box and not the original 3D min and max values.
2020-10-21Fix 'Make Local' operation to support liboverrides.Bastien Montagne
One can now use 'make local' from the Outliner or the 3DView to also fully localize overrides of linked data.
2020-10-21UI: Fix typo in sculpt trim tool descriptionHans Goudey
2020-10-21Fix (studio-reported) Armature: bug in handling of custom bone transform.Bastien Montagne
This specific pose channel pointer was not handled at all during rebuilding of poses, meaning that it could end up pointing at some freed pchan.
2020-10-21 Cleanup: Improve function and variable nameHans Goudey
"pt" is unecessarily cryptic, and the funciton name wasn't very clear.
2020-10-21Fix panel type use after free when reloading scriptsHans Goudey
In order to prevent the panel code from using the type after it is freed, the field needs to be set to NULL. This needs to be done recursively for subpanels as well as top-level panels.
2020-10-21WM: ensure is_repeat isn't copied from the last eventCampbell Barton
This means if a keymap item is set to ignore repeat events, it may do so accidentally from this setting being copied.
2020-10-21Cleanup: keep comment block at bottom of versioningCampbell Barton
The intention of this block is to have all logic that will be wrapped in a version check next subversion bump.
2020-10-21Preferences: separate feature flags for geometry nodes and point cloud typeJacques Lucke
Those two features are not directly related and one might be activated in master earlier than the other. WITH_PARTICLE_NODES was removed, because we continue the project under the name "Geometry Nodes".
2020-10-21Cleanup: Move scenes' foreach_id handling of toolsettings into own func.Bastien Montagne
2020-10-21Cleanup: rename some functions with more relevant prefix.Bastien Montagne
2020-10-21Cleanup: Clang-tidy readability-named-parameterAnkit Meel
No functional change.
2020-10-21Cleanup: Clang-tidy readability-redundant-string-initAnkit Meel
No functional change.
2020-10-21Cleanup: early return from animation step, reduce indentation levelCampbell Barton
2020-10-21DrawManager: Adding Custom Render PassesJeroen Bakker
Currently render passes in the draw manager (eevee) must be predefined in the render result. This patch would ask the render engine for the render passes it needs, and create these as a preparation step during rendering. This allows any draw engine to define more complex render passes setup. Render passes can only be added before the call to `RE_engine_begin_result`. `RE_engine_begin_result` makes a full copy of the render passes. During rendering the render engines renders to the duplicated passes. `RE_engine_end_result` syncs the data back to the original render passes, but only if the passes existed in the original render result. Currently we work-around this issue by registering the passes in `render_result_new`. This is legacy blender internal structure and should be avoided. With upcoming projects (AOV/Cryptomatte) it becomes a bit of a mess as we are extending legacy code to support new features. This patch allows us to let each draw engine register their own render passes at render time (similar to cycles and other render engines). In the future we could get rid of legacy render passes registration in render_result_new. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9088
2020-10-21Fix T81079: Switch object ignoring visibility settingsPablo Dobarro
Replace ED_transform_snap_object_context_create with ED_view3d_give_base_under_cursor & ED_view3d_autodist_simple so object visibility is respected and non-geometry objects can be supported. Ref D9255
2020-10-21Fix for T81757: Incorrect Overlay Line HeightHarley Acheson
Fixes error in determining 3DView Overlay Line Height. Do not base on current default font height. Differential Revision: https://developer.blender.org/D9288 Reviewed by Campbell Barton
2020-10-21Cleanup: simplify lasso transform from 17cb2a6da0c88Campbell Barton
Access as 2D array, loop forwards over the pointer since it's more common and simpler to read.
2020-10-21Cleanup: avoid error prone nested switch statements (missing break)Campbell Barton
17cb2a6da0c88 missed a break statement after a nested switch, while it didn't cause a bug nesting switch doesn't read well and is prone to errors like this. Split modal-keymap checks into their own branch to avoid this happening, also use matching event checks for all gesture operators.
2020-10-21Fluid: Added obstacle fluid distance parameterSebastián Barschkis
Being able to adjust the distance between fluid and obstacles comes in handy when trying to achieve a fluid motion over inclined obstacles. Depending on the slope of such obstacles, already small adjustments of this value can help when particles stick to obstacle surfaces (i.e. make particles not stick to obstacles).
2020-10-20UI: Add angle snapping to line gesture toolsPablo Dobarro
This adds support for snapping for line gesture tool. It is implemented in the modal keymap as Snap, which is a toggle (similar to how snapping in the transform operator works). Right now it snaps the angle of the line to 15 degree increments, which is defined in code. This should be easy to expose in the UI in the future if we need to. Reviewed By: Severin Differential Revision: https://developer.blender.org/D9115
2020-10-20Fix error in the last commitPablo Dobarro
I accidentally commited a file without saving it
2020-10-20UI: Move gesture selection with spacebarPablo Dobarro
This patch adds a modal key to move the selection box/lasso/line while drawing it. It also sets "repeat": False on the animation playback key to prevent accidental playback if the spacebar is released after the mouse button. Reviewed By: #user_interface, pablovazquez, Severin Differential Revision: https://developer.blender.org/D9227
2020-10-20EEVEE: Screen Space Reflection: Improve self intersection cases.Clément Foucault
This patch fix most self intersection comming from reflection rays. We regenerate the ray if it goes below the shading normal (should be the geometric normal but we have no access to it here). Also add the same precision based bias we use for contact shadows. This fix T81105 Eevee SSR quality regression in 2.91 alpha
2020-10-20EEVEE: Screen Space Reflection: Fix undefined behavior with invalid LODClément Foucault
Some issues happened because the lod can become negative in some cases. Also avoid sampling LOD with interpolation (floor).
2020-10-20Fix sculpt pen tilt support changing the brush strengthPablo Dobarro
SCULPT_tilt_apply_to_normal expects a normal, and offset was already scaled by radius. The funcion returns a normalized vector, so the strength of the brush was changed. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9275
2020-10-20Cleanup: Clang-tidy -readability-inconsistent-declaration-parameter-nameAnkit Meel
Changes in source/blender/makesrna only. No functional change.
2020-10-20Cleanup: Clang-tidy bugprone-redundant-branch-conditionAnkit Meel
No functional change.
2020-10-20Cleanup: makesrna, Clang-tidy else-after-return-fixes.Ankit Meel
It got left out of {rBc04088fed1b8faea6b2928bb5e09ab3}. No functional change.
2020-10-20Cleanup: Clang-tidy silence readability-non-const-parameterAnkit Meel
This is a false alarm, `getFileSystemRepresentation` changes the return value argument. So used `NOLINTNEXTLINE`.
2020-10-20UI:Add icon for Displacement Eraser brushRahul Chaudhary
This patch adds icons for the multires displacement eraser tool in sculpt mode Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D9286
2020-10-20UI: Add icons for line genture toolsRahul Chaudhary
This patch adds icons for line gesture tools Line mask and line project Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D9285
2020-10-20UI: Add icon for boundary brushRahul Chaudhary
This patch adds icon for the boundary brush in sculpt mode Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D9284
2020-10-20Ocean Modifier: allow spray maps to be bakedHans Goudey
In comments made by a tester on rB17b89f6dacba007bf, it seems that baking of the spray maps would be useful. This commit adds that capability. Both the spray map and its inverse are baked out in this change, for maximum convenience and to avoid assuming what the user wants. Differential Revision: https://developer.blender.org/D8470
2020-10-20Cleanup: warning on windowsJacques Lucke
2020-10-20UV/Image: Remove Legacy DrawingJeroen Bakker
With D8234 a new drawing method for UV/Image editor was introduced. For debugging reasons we left the old drawing method in the code base. This patch will remove the old drawing method. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9011
2020-10-20Fix T81865, T81860: CustomData Correction can fail on non standard namesPhilipp Oeser
Caused by rBaafd71a8a160. In the process of CustomData Correction, we need to make sure we also have matching layer names [as was done before above commit], otherwise this will create layers with default names, applying (mesh_customdatacorrect_apply and friends) will fail then. Maniphest Tasks: T81865 Differential Revision: https://developer.blender.org/D9278
2020-10-20Cleanup: remove dead codeJacques Lucke
2020-10-20EEVEE: ShaderToRGB alpha inversedJeroen Bakker
The alpha out socket output the average transmittance, not the alpha. This patch will convert the transmittance to alpha. Found during research of T80919; Issue introduced when `Closure.opacity` was migrated to `Closure.transmittance`. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9010
2020-10-20Volumes: Fix compilation when building without openVDBClément Foucault
And remove a warning.
2020-10-20GLTexture: Fix Anisotropic filtering affecting the standard mipmap samplersClément Foucault
Everything's in the title...
2020-10-20DRW: Disable anisotropic filtering on utility texturesClément Foucault
Anisotropic filter may result in incorrect algorithm. This only affects util textures (not Image datablocks gpu textures).
2020-10-20Fix compile errorJacques Lucke
Haven't tested on windows, hope that works.
2020-10-20Fluid: Add missing versioning for new options in 'Viewport Display' panelSebastián Barschkis
Files created before D8705 was merged need to get initial values for the new viewport display fields.
2020-10-20Fix T81076: Crash on switch object operator undoPablo Dobarro
This fixes the crash and the assert, but undo is done in multiple steps Reviewed By: campbellbarton Maniphest Tasks: T81076 Differential Revision: https://developer.blender.org/D9256
2020-10-20Cleanup: General comment style clean up of graph_edit.c and fcurve.cSebastian Parborg
No functional changes. Reviewed By: Sybren A. Stüvel Differential Revision: http://developer.blender.org/D7850
2020-10-20Fix T81776: Sculpt line gestures not working with transformed objectsPablo Dobarro
The line gesture plane should be in object space, not in world space.
2020-10-20Simulation: remove particle nodes with outdated designJacques Lucke
The design for how we approach the "Everything Nodes" project has changed. We will focus on a different part of the project initially. While future me will likely refer back to some of the code I remove here, there is no point in keeping this code around in master currently. It would just confuse other developers working on the project. This does not remove the simulation modifier and data block. Those are just cleaned up, so that the boilerplate code can be reused in the future.
2020-10-20Volumes: simplify volumes in modifiers or on loadJacques Lucke
This changes how the simplify volumes setting works. Before, it only affeted viewport rendering. This was an issue, because all internal computations would still have to happen on the high resolution volumes. With this patch, the simplify setting already affects file loading and procedural generation of volumes. Rendering does not have to care about the simplify option anymore, it just gets the correct simplified version from the depsgraph. Reviewers: brecht Differential Revision: https://developer.blender.org/D9176