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
2020-10-26Fix T81893: Cycles viewport crash changing mesh to smoke domainBrecht Van Lommel
Now that volume is a dedicated geometry type in Cycles, we need to re-allocate the geometry when a mesh changes into a volume.
2020-10-26Cleanup: compiler warningsBrecht Van Lommel
2020-10-26Fix custom-normal support for mesh editing operationsCampbell Barton
Account for custom normals for edit-mesh tools: - Limited Dissolve - Split - Split (Edges/Vertices) - Triangulate
2020-10-26Proper, cleaner fix for T81963: Random rare crashes in override code.Bastien Montagne
Use new `BKE_pose_ensure` utils, and do so for reference linked object too everywhere.
2020-10-26Pose: Add a 'pose_ensure' new utils that only rebuilds if needed.Bastien Montagne
Avoids having to spread the check logic everywhere in the code.
2020-10-26Fix T82077: Tools popup error in the image editorRyan Inch
Add check for an image space type. Ref D9347
2020-10-26LatticeDeform: PerformanceJeroen Bakker
This patch improves the single core performance of the lattice deform. 1. Prefetching deform vert during initialization. This data is constant for each innerloop. This reduces the complexity of the inner loop what makes more CPU resources free for other optimizations. 2. Prefetching the Lattice instance. It was constant. Although performance wise this isn't noticeable it is always good to free some space in the branch prediction tables. 3. Remove branching in all loops by not exiting when the effect of the loop isn't there. The checks in the inner loops detected if this loop didn't have any effect on the final result and then continue to the next loop. This made the branch prediction unpredictable and a lot of mis predictions were done. For smaller inner loops it is always better to remove unpredictable if statements by using branchless code patterns. 4. Use SSE2 instruction when available. This gives 50% performance increase measured on a Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz with GCC 9.3. Also check other compilers. Before: ``` performance_no_dvert_10000 (4 ms) performance_no_dvert_100000 (30 ms) performance_no_dvert_1000000 (268 ms) performance_no_dvert_10000000 (2637 ms) ``` After: ``` performance_no_dvert_10000 (3 ms) performance_no_dvert_100000 (21 ms) performance_no_dvert_1000000 (180 ms) performance_no_dvert_10000000 (1756 ms) ``` Reviewed By: Campbell Barton Differential Revision: https://developer.blender.org/D9087
2020-10-26Fix T81077 id_management test on macOSAnkit Meel
This looks like a optimizer bug where it makes wrong assumptions. The code inside lib_id_delete:264 on rBafd13710b897cc1c11b `for (id = last_remapped_id->next; id; id = id->next) {..}` is not executed in release/relwithdebinfo builds. This can be "fixed" by several ways: - Adding a line that prints the `last_remapped_id->name` right before the said for-loop starts. - Turning off optimization for the whole function `id_delete`: `#pragma clang optimize off/on` Ray Molenkamp - Marking `last_remapped_id` volatile. Julian Eisel - Marking `tagged_deleted_ids` volatile. But it adds a warning when calling `BLI_addtail`: discards volatile qualifier. Discovered by accident. Fix T81077 Reviewed By: mont29 Maniphest Tasks: T81077 Differential Revision: https://developer.blender.org/D9315
2020-10-26Fix T81963: Random rare crashes in override code.Bastien Montagne
Finaly managed to reproduce, we not only have to ensure pose data is up to date for the override armature, but also for the reference linked data.
2020-10-26Fix T81984: Crash in sculpt undo with mask extract after dyntopo toggleBastien Montagne
More operators missing the mandatory undo flag...
2020-10-26Fix Recursion when rendering scene stripRichard Antalik
Recursion happens in case when scene strip point to it's own scene indirectly by using SEQ_SCENE_STRIPS option. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9264
2020-10-26Fix T81426: Infinite loop building VSE relationsRichard Antalik
It is possible to create scene strips pointing to each other. This is sanitized when rendering, but in dependency graph such setup will cause infinite loop. This patch fixes loop in dependency graph, but same problem exists in audaspace Reviewed By: sergey Differential Revision: https://developer.blender.org/D9262
2020-10-26Fix T81250: Crash after undoing with prefetchingRichard Antalik
Main DB and it's structs can point to different address after undoing. In this case problem was that bmain was not updated. Same fix was done for scene as well. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9240
2020-10-26Fix T81904: Cloth brush simulation failing with local area and mirrorPablo Dobarro
When using local area, all nodes need to build their constraints first before activating them for simulation. THis ensures that nodes get their structural constraints from the initial location of each symmetry pass. Reviewed By: sergey Maniphest Tasks: T81904 Differential Revision: https://developer.blender.org/D9303
2020-10-25Fix T81999, Boolean Exact+Self Difference fails.Howard Trickey
A cell with winding number > 1 for the second operand was incorrectly included in the output.
2020-10-24Fix T81884, clamping with percent, addendum.Howard Trickey
The previous fix forgot the case where there is an intermediate edge and everything isn't in one plane. Differential Revision: https://developer.blender.org/D9336
2020-10-24Fix T82019 Crash loading 2.78 splash demo.Howard Trickey
The versioning code to default to old booleans for old files was faulty because really old files had a 'solver' field (later removed, but then added back for new booleans).
2020-10-23GPU: Debug: Trim shader stats from output logClément Foucault
We don't make use of it anyway.
2020-10-23GPU: Use CLOG to for debug outputClément Foucault
This removes the escape color control caracters when the output does not supports it (i.e: file output, windows cmd).
2020-10-23CLOG: Add getter to know if output supports coloringClément Foucault
2020-10-23Fix Cycles unnecessary overhead cancelling finished task poolBrecht Van Lommel
2020-10-23Fix T81102: Cycles crashes in interactive 3D viewport rendering after EmbreeBrecht Van Lommel
Don't allocate a new buffer for refitting meshes, but update the existing one. It's not clear from the API docs if this is required, but it appears to solve the issue and should be more efficient.
2020-10-23Cleanup: remove redundant assignment in previous bugfixBrecht Van Lommel
2020-10-23Fix use of uninitialized line/polygon smooth variables in GPU stateBrecht Van Lommel
Found by valgrind, unclear if this caused an actual bug.
2020-10-23Fix T81934: Painting/Sculpting in ortho fails to let strokes pass through ↵Philipp Oeser
clipped geometry Caused by rB7878adf49cff. When getting the stroke location via raycast in ortho view, the above commit flipped the condition of the check to perform adjustments on the rays start/end. This would thus happen (even though it shouldnt), resulting in wrong depth and stroke location. Now just flip the condition back, so adjustments only happen when clipping is OFF. Maniphest Tasks: T81934 Differential Revision: https://developer.blender.org/D9318
2020-10-23RNA Manual Map: Update mappings for latest manualAaron Carlisle
2020-10-23Fix unreported: unmatching shortcut between gp modesAaron Carlisle
GPencil: Change Interpolate shortcut to Ctrl+E Before the shortcut was Ctrl+Alt+E, but it's more logic remove the Alt. This was missed in rBee49ce482a797a5937829de497abd69bcd1edb48
2020-10-23Fix T80165: Separate by loose parts breaks custom normalsCampbell Barton
- Add NULL check for BKE_lnor_spacearr_clear - Remove unnecessary 'use_toolflags' with BMesh creation.
2020-10-23Fix T81969 VSE: Wrong UI colorspace after scene strip updateClément Foucault
This regression was caused by rB57de5686048f which disabled srgb transform after the python callback. The right thing to do is to only rebind the framebuffer once to reset the no-srgb override.
2020-10-23Fix T81942 EEVEE: Reflection Plane glitch with low clip distancesClément Foucault
This was happening because the raytrace was not even being performed due to the tracing line being too small after frustum clipping.
2020-10-23Fix T73793 Walk navigation crosshair gets hidden behind objectsClément Foucault
This was reintroduced by the wide line emulation workaround.
2020-10-23Fix T81818: Outliner mode column crashes with shared object dataHans Goudey
For objects with shared data, it makes sense to show the mode icon for every object sharing the same data if one of them is in edit mode. This also disables the "extend" functionality in this case, because being in edit mode for multiple objects with the same data isn't supported. Differential Revision: https://developer.blender.org/D9273
2020-10-23Pydoc: Fix sphinx compile warnings about freestyleAaron Carlisle
Sphinx expects functions and methods with the same name and different parameters to be written using one directive. See: https://www.sphinx-doc.org/en/master/usage/restructuredtext/domains.html#basic-markup Unfortunately this makes giving different descriptions for each harder. This was already a request for better support for this in sphinx, see: https://github.com/sphinx-doc/sphinx/issues/7787 Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D9170
2020-10-22Fix Unreported: Missing box mask in sculptAaron Carlisle
There was a weird bug in the API where a value of 0 gave a mask value of 1. I am not sure why this is but the current code works as desirable. This was missed in rB6faa765af8954948de3cec75a2261a5aa139b4e5
2020-10-22Cleanup: Simplify outliner mode column drawing functionHans Goudey
Move the checks for whether to draw the button to the beginning of the function and return early. Also use a shorthand variable for ob_active. Committing to 2.91 as a patch for an upcoming bug fix depends on these changes. Differential Revision: https://developer.blender.org/D9272
2020-10-22GPencil: Fix unreported crash using layer solo mode and masked layersAntonio Vazquez
The solo mode was skipping the layer creation data and the loop of masks expect to have all layers in the array or the loop crash. The solution is just create the layer array data for the layer, but don't draw any stroke.
2020-10-22Fix T81909: Translation missing for some labels in modifier panelsHans Goudey
Every label string in uiItem* calls needs an IFACE_ call.
2020-10-22GPencil: Fix unreported mistake in material index for trace imagensAntonio Vazquez
The material index was not used and only worked with new objects.
2020-10-22Sculpt: Remove tools with missing icons experimental optionPablo Dobarro
All tools planned for 2.91 now have icons, so this option can be removed. Reviewed By: dfelinto, Severin Differential Revision: https://developer.blender.org/D9299
2020-10-22Fix T81953: Python error in UV Editor Overlay popupPhilipp Oeser
Leftover from rBe05ce1ea2029, 'use_image_editor_legacy_drawing' was removed. Maniphest Tasks: T81953 Differential Revision: https://developer.blender.org/D9310
2020-10-22GPU: Memory leak when scaling buffersJeroen Bakker
`imb_gpu_get_data` could reuse `data_rect` when it was already in used (double alloc). making the first use leak. This was detected after enabling OpenGL Texture Limit. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9280
2020-10-22Fix T81949: Child Of Constraint can't assign inverse matrixCampbell Barton
Caused by ad70d4b0956f5, assigning the matrix now clears the flag that would reset it.
2020-10-22Fix animation player initializationCampbell Barton
Updates from 9d30fade3ea9b weren't applied to the animation player causing an assert and missing call to IMB_init.
2020-10-22Cleanup: remove '_' prefix from used argumentCampbell Barton
2020-10-22Fix T81905: Active keyframe unavailable when handle selectedCampbell Barton
Selecting an F-Curve handle caused an assertion as well as treating the key-frame as inactive. Allow active the keyframe to be active when it's handle is selected, as is done with bezier curves.
2020-10-22Fix T81939: crash calling bmesh.utils.vert_separate()Campbell Barton
Missing NULL check in bmesh_kernel_vert_separate.
2020-10-22Fix out of bounds array access in mathutils.noiseCampbell Barton
Regression in 0b2d1badecc48.
2020-10-22WM: warn when event's have repeat set for non keyboard eventsCampbell Barton
Also add docs to event and keymap item flag.
2020-10-22WM: ensure is_repeat isn't set for mouse-move eventsCampbell Barton
Follow up to d782bad62dc53373bb28811c0672da81924371d6 Also clear this for simulated events.
2020-10-22DRW: Fix custom engine not being BGL safeClément Foucault
This was caused by unprotected drawing callbacks. As of 2.91, we require that all python callbacks used for drawing needs to be safeguarded by `GPU_bgl_end()` to end the state tracking override.