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-02-19Fluid: More cleanup in fluid rna codeSebastián Barschkis
Removed scientific variable names from UI.
2020-02-19Fix T73932: modifying keyframes in nodes fails when there is an image sequenceBrecht Van Lommel
Image animation should not be an depsgraph node of type ANIMATION, there is no need for it to be affected by the special casing for that.
2020-02-19Sculpt: Pinch only in the direction perpendicular to the strokePablo Dobarro
By pinching this way, we can fix some artifacts when sculpting following the topology direction. It does not make much difference with dyntopo/ remesher, but I think this should improve the quality of the brush when working with Multires. Reviewed By: JulienKaspar, jbakker Differential Revision: https://developer.blender.org/D6587
2020-02-19Fluid: Cleanup in fluid rna codeSebastián Barschkis
More descriptive names for secondary particle options.
2020-02-19Fix T74009: `bpy.ops.outliner.orphans_purge()` poll being too restrictive.Bastien Montagne
There is no reason to even require an editor at all here, for now just kept the 'orphan view needed' condition for the outliner case only.
2020-02-19Fix for Fix (c) : Normals Edit modifier using unititialized array of normals...Bastien Montagne
Own mistake in recent rBcfdb5b9a8b07.
2020-02-19Fix T72751: Timeline crash from overridden scene.Bastien Montagne
Depsgraph RNA pointer would generate infinite loop in override comparisons. Depsgraph pointer should never be considered here anyway, this is purely runtime data.
2020-02-19readfile: Move ID refcounting to libquery.Bastien Montagne
Having that extra ID users handling at readfile level, besides generic one ensured by libquery, has been something bothering me for a long time (had to fix my share of bugs due to mismatches between those two areas). Further more, work on undo speedup will require even more complex ID refcount management if we want to keep it in readfile.c area. So idea is instead to generalize what we did for linked data already when undoing: recompute properly usercount numbers after liblink step, for all IDs. Note that extra time required here is neglectable in a whole .blend file reading (few extra milliseconds when loading a full production scene e.g.). Notes: * Some deprecated data (IPOs) are not refcounted at all anymore, this should not be an issue in pratice since the are supposed to get deleted after doversion anyway. * Refcounting happens after `do_versions_after_linking`, i.e those functions won't get valid ID usercounts currently. Again, this is not a problem in current code, if needed we could recompute refcount before, and then ensure `do_versions_after_linoiing()` actually handles properly usercount, which it does not currently. Differential Revision: https://developer.blender.org/D6881
2020-02-19Fix T68878: Update shapekeys during transformationGermano Cavalcante
Only use the hack in `key_block_get_data` for the bmesh shapekey. The remaining shapekeys can use the original offset values. Differential Revision: https://developer.blender.org/D6516
2020-02-19Fix T73941: Custom normals from normal edit modifier ignored by further ↵Bastien Montagne
modifiers. This commit actually fixes several issues in this modifier, but main one from the report was caused by adding a `CD_NORMAL` layer to loops to store temp real clnors. Unless we plan on modifying the topology itself, this is useless, and would require some additional 'dirty normals' tagging to work properly, so just switched to simpler, cleaner solution of having a local array of computed clnors.
2020-02-19Subdiv: Clarify Subdiv settingsSergey Sharybin
The actual naming might also be a subject to change, especially the one around `level`. Tricky part here is that at some point in the API there will be change from Blender modifier's Quality to OpenSubdiv's Level, but which API level is most suitable for this? At least now meaning of settings is better documented ans should be clear what's going on.
2020-02-19Fix T73859: Support executing sculpt.set_pivot_position without invokeJacques Lucke
Reviewers: brecht
2020-02-19Cleanup: assign Main, use existing assignmentsCampbell Barton
Avoid accessing inline since it's often used multiple times. In some cases it was already defined.
2020-02-19BLI_math: unify zero area checks for barycentric weight calculationCampbell Barton
This applies the change from T73348 fix to related functions. Instead of checking against an epsilon to avoid divide by zero, perform the division and check the result is finite. This is needed since small faces can have an area under 'FLT_EPSILON', and dividing by values close to zero can result in 'inf'.
2020-02-19EEVEE: Color Ramp Ease OptimisationCharlie Jolly
This patch provides an optimisation for Ease (Smoothstep) setting in the color ramp node. This optimisation exists already for Constant and Linear modes. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6880
2020-02-19DRW: New High Quality Normal & Tangent extractClément Foucault
This patch adds a dedicated path to extract 16bit normals instead of packing them into 10bits/comp. The tangents are also packed to 10bits/comp if not using the new High Quality Normal option. Fix T61024 Degraded texture shading on dense meshes Reviewed By: brecht Differential Revision: https://developer.blender.org/D6614
2020-02-18GPU: Fix huge performance regression regarding instancingClément Foucault
Under some circumstances, MultiDrawIndirect was disabled to improve perf. of average scene. But this conflicted with the normal instancing buffer filling if only 1 or 2 instances were needed to fill the buffer. All consecutive drawcalls could not be batched together and performance would degrade rapidly. This patch make my instance test scene go from 11fps back to 40fps where it should have been.
2020-02-18GPU: Limit Mesa workaround to older versionClément Foucault
2020-02-18Modifiers: UVWarp modifier add invert vgroup optionCody Winchester
Adds the invert vgroup option to the UVWarp modifier. Adds a flag and char padding to the DNA. Differential Revision: https://developer.blender.org/D6841
2020-02-18Modifiers: Bevel modifier add invert vgroup optionCody Winchester
Adds the invert vgroup option to the Bevel modifier. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6845
2020-02-18Fix crash loading .blend file saved with Blender 2.25Brecht Van Lommel
pathJumper.blend from 2.25 release demo files in demos225.zip
2020-02-18Modifiers: Explode modifier add invert vgroup optionCody Winchester
Adds the invert vgroup option to the Explode modifier. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6844
2020-02-18Sculpt: Update red cursor colorPablo Dobarro
Some users reported that the previous red color of the cursor was too saturated and that can be distracting. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6828
2020-02-18Modifiers: Laplacian Deform modifier add invert vgroup optionCody Winchester
Adds the invert vgroup option to the Laplacian Deform modifier. Differential Revision: https://developer.blender.org/D6843
2020-02-18EEVEE: Fix default material disappearing when SSRefraction is enabledClément Foucault
2020-02-18Sculpt: Fix slide relax cursor colorPablo Dobarro
Slide/Relax is a deform tool, so the color should be yellow. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6827
2020-02-18Cleanup: clang-format.Bastien Montagne
2020-02-18Modifiers: Laplacian Smooth modifier add invert vgroup optionCody Winchester
Adds the invert vgroup option to the Laplacian Smooth modifier. Differential Revision: https://developer.blender.org/D6842
2020-02-18Cleanup: protect parameters of `FOREACH_MAIN_ID` & co macros.Bastien Montagne
2020-02-18Fix (unreported) wrong handling of usercount in `BKE_workspace_add()`.Bastien Montagne
This does not seem to be an actual issue in current master code (as creating a new ID will assign 1 user to it by default), but is breaking generic usercount handling in future changes.
2020-02-18Code cleanup EEVEE Render PassesJeroen Bakker
The render passes didn't follow the DrawManager way of doing things. It added new geometry and shading groups during drawing. This would make it harder to migrate to Vulkan later on. This change will re-implement this part by using uniform references. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D6875
2020-02-18Fix T62612: Saving with "Remap Relative" makes ALL paths relativeCampbell Barton
2020-02-18libquery: add optional handling of 'UI' ID pointers.Bastien Montagne
Handling those through different ways /might/ be needed sometimes, but in most case this is just a nest of issues, since you can easily forget to take them into account. Note that this should be a 'non-functional' change, as this new behavior is not used anywhere yet.
2020-02-18Fix T73960: GPencil can't convert while it is a separate from old strokesAntonio Vazquez
The problem was the new object hadn't any layer active.
2020-02-18Fix making paths relative on windowsCampbell Barton
Comparing the drive letter was case sensitive, causing 'BLI_path_rel' to fail in common cases (manually entering a lower case drive letter for example). Surprisingly this issue dates back to 2005 and wasn't reported.
2020-02-18Cleanup: use doxy sections for BLI_bpath APICampbell Barton
2020-02-18Cleanup: compiler warningsBrecht Van Lommel
2020-02-18Fix T70898: Area.type access fails for topbar & statusbarCampbell Barton
Revert change from 5f6c45498c92b91a710a1317f6d41f73fbe83477 Excluding enum items meant Python scripts couldn't access them. This is no longer needed now Area.ui_type is used for the menu.
2020-02-18DRW: Fix wrong view transform used in solid mode if using workbench engineClément Foucault
2020-02-18Fix T73793 Walk navigation crosshair gets hidden behind objectsClément Foucault
This is a bug that the recent refactor exposed. Some widgets were drawing with alpha set to 0.
2020-02-18Fix T73914 Overlay: Unable to select bone in pose modeClément Foucault
It was caused by the bone selection overlay that was delaying the xray pass. But OVERLAY_pose_draw were never called when doing selection.
2020-02-17Fix: Alphabeticalize Object ModifiersAaron Carlisle
Reported by Dalai on the live stream
2020-02-17Fix T73748 Overlay: Infront disappearing/glitched while in Xray modeClément Foucault
2020-02-17Overlays: Fixed blending issue when not using smooth wireClément Foucault
2020-02-17Fix T73876 Overlay: Armature: Pose bones display randomlyClément Foucault
Caused by unitialized value.
2020-02-17MSVC: Fix obscure RNA related build errorRay Molenkamp
When you switch between debug/release mode a lot, you could end up in a situation where the generated RNA code was out of sync between the two configurations. There was one function optionally defined with an `#ifndef NDEBUG` guard, this patch adds a stub implementation for the other configurations to prevent build errors. Differential Revision: https://developer.blender.org/D6855 Reviewers: brecht
2020-02-17Embree: avoid potential clashing symbols with external renderer add-onsBrecht Van Lommel
2020-02-17Fix T71455, T73852, T73860: Transform, Redo doesn't work properly in time ↵Germano Cavalcante
editors The redo panel does not consider the position of the mouse. So it is not possible to know the direction to redo the operator. The solution is to add a new `direction` parameter that can be saved and used for redo. Differential Revision: https://developer.blender.org/D6852
2020-02-17Fix T73853: Redo does't work properly with NLA "Move" transform modeGermano Cavalcante
The orientation matrix when re-doing some transform operations was negated. Thanks @lichtwerk for pointing out the problem.
2020-02-17VSE: Remove atomized image duplication for preprocessing stageRichard Antalik
Each image that goes through preprocessing is already duplicated in `input_preprocess()` Reviewed By: brecht Differential Revision: https://developer.blender.org/D6790