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
2021-06-08Geometry Nodes: enable multi-threading in evaluator againJacques Lucke
This reverts rB223c6e1ead2940a89465ff66765d16ac14a992b7 because T88598 is resolved now.
2021-06-08BLI: support disabling task isolation in task poolJacques Lucke
Under some circumstances using task isolation can cause deadlocks. Previously, our task pool implementation would run all tasks in an isolated region. Now using task isolation is optional and can be turned on/off for individual task pools. Task pools that spawn new tasks recursively should never enable task isolation. There is a new check that finds these cases at runtime. Right now this check is disabled, so that this commit is a pure refactor. It will be enabled in an upcoming commit. This fixes T88598. Differential Revision: https://developer.blender.org/D11415
2021-06-08BMesh: simplify normal calculation, resolve partial update errorCampbell Barton
Simplify vertex normal calculation by moving the main normal accumulation function to operate on vertices instead of faces. Using faces had the down side that it needed to zero, accumulate and normalize the vertex normals in 3 separate passes, accumulating also needed a spin-lock for thread since the face would write it's normal to all of it's vertices which could be shared with other faces. Now a single loop over vertices is performed without locking. This gives 5-6% speedup calculating all normals. This also simplifies partial updates, fixing a problem where all connected faces were being read from when calculating normals. While this could have been resolved separately, it's simpler to operate on vertices directly.
2021-06-08Cleanup: Silent compile warning in `interface_widgets.c`.Jeroen Bakker
2021-06-08Cleanup: Soilent compile warning in `curve_bevel.c`.Jeroen Bakker
2021-06-08LineArt: Threaded Object Loading.YimingWu
Move BMesh conversion and all loading code into worker. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D11288
2021-06-08Fix test failure caused by earlier cleanup commitHans Goudey
rB8cbff7093d65 neglected to move the "pre-tesselation" modifier to the next before calculating the second part of the curve modifier stack.
2021-06-08Remove noop code from WM_MOUSEWHEEL processing.Nicholas Rishel
ChildWindowFromPoint retrieves the child of the provided window at a point. In this case it always returns 0 because HWND_DESKTOP is flag defined as 0, which is never a valid window handle and is not intended for use in place of a window handle. Forwarding of mousewheel events was added in adb08def613d, and later modified to the current unworking state in e9645806f563. Sending mouse wheel events to the window under the cursor is a system preference and therefore should not be overridden by Blender, therefore the noop code has been removed.
2021-06-08Improve multires performance.Joseph Eagar
Added a new api function to stich multires grids on specific faces in a mesh, subdiv_ccg_average_faces_boundaries_and_corners, and changed multires normal calc to use it. VTune profiling showed that this was a major performance hit once you get above 10,000 or so base mesh faces and/or have a high number of subdivision levels. Here's a video comparing the difference. Note the bpy.app_debug switch is not in the final commit. {F10145323} And the .blend file: {F10145346} Reviewed By: Sergey Sharybin (sergey) Differential Revision: https://developer.blender.org/D11334
2021-06-08Revert "Improve multires performance."Joseph Eagar
. . .because I accidentally committed submodule references. This reverts commit 482465e18aa7c9f74fcb90ec1002f157a580e240.
2021-06-08Improve multires performance.Joseph Eagar
Added a new api function to stich multires grids on specific faces in a mesh, subdiv_ccg_average_faces_boundaries_and_corners, and changed multires normal calc to use it. VTune profiling showed that this was a major performance hit once you get above 10,000 or so base mesh faces and/or have a high number of subdivision levels. Here's a video comparing the difference. Note the bpy.app_debug switch is not in the final commit. {F10145323} And the .blend file: {F10145346} Reviewed By: Sergey Sharybin (sergey) Differential Revision: https://developer.blender.org/D11334
2021-06-08Cleanup: Order return argument lastHans Goudey
2021-06-08UI: Remove property descriptions exactly the same as namesHans Goudey
These two descriptions are exactly the same as the property names, which only wastes people's time when reading tooltips
2021-06-07Cleanup: Use const arguments, return by valueHans Goudey
Also use Curve as an argument instead of Object, since the object was only used to retrieve the curve, and the calling code is already working with curve data.
2021-06-07Fix T77651: Black screen on Blender startup on ChromeOSGermano Cavalcante
Apparently `textureSize` doesn't work with `sampler1DArray` on this OS. Thanks to @dave1853 for finding the source of the problem.
2021-06-07Cleanup: Make function staticHans Goudey
This was not used in any other file, and it's not likely to be used elsewhere in the future anyway.
2021-06-07Cleanup: Remove outdated/useless commentsHans Goudey
Some of the comments referenced code that was no longer there, or even defines that were removed. Other comments were more confusing and vague than helpful. Also adjust formatting in a few cases.
2021-06-07Cleanup: Remove unused function, make function privateHans Goudey
2021-06-07Cleanup: Decrease variable scopeHans Goudey
Also use const and bool in a few places.
2021-06-07Fix T88801: Positioning of Menu UnderlinesHarley Acheson
This patch improves the positioning of the little mnemonic underlines shown under some hotkey letters in menus, especially when using custom fonts. see D11521 for details and examples. Differential Revision: https://developer.blender.org/D11521 Reviewed by Campbell Barton
2021-06-07Fix: Wrong logic for checking if we can reuse decoded frameSebastian Parborg
We should only check if the new pts value lies inside the duration of the current frame.
2021-06-07Cleanup: use doxy groups for bmesh_mesh_normals.cCampbell Barton
2021-06-07Cleanup: Move extract lines to compile unit.Jeroen Bakker
2021-06-07Cleanup: Move extract tris in own compile unit.Jeroen Bakker
2021-06-07Revert most of rB93a865dde775e.Bastien Montagne
This revert went too far, only one line (the minimal version of FFMPEG for `install_deps.sh` script`) actually needed to be reverted... Sorry for the noise.
2021-06-07Cleanup: split bmesh normal calculation into separate filesCampbell Barton
2021-06-07Cleanup: compiler warnings signed/unsigned mismatchCampbell Barton
2021-06-07Cleanup: silence warningsGermano Cavalcante
2021-06-07Fix: do not use threading for 'extract_points'Germano Cavalcante
`extract_points` doesn't support multithreading yet.
2021-06-07Revert "Bump FFmpeg version from 4.2.3 to 4.4"Bastien Montagne
This reverts commit 95690dd362f3a94f6c3b1efbe91e8b5cc164745f. Such high version restriction is no more needed after rB9225fe933ae990. Missing bit in https://developer.blender.org/D11417.
2021-06-07Cleanup: remove redundant cast, use const castsCampbell Barton
2021-06-07Cleanup: remove unused valueCampbell Barton
2021-06-07Cleanup: use keyword only argument in bpy.props argument parsingCampbell Barton
No functional changes as logic elsewhere already ensured this. This just makes it obvious to anyone reading over the code that these arguments are keyword only.
2021-06-07Cleanup: use keywords for unit testsCampbell Barton
Prepare for function calls to be keyword only.
2021-06-07Cleanup: quiet warning accessing deprecated attribute in bl_testCampbell Barton
2021-06-07Fix build error, remove duplicate include.Ankit Meel
2021-06-07LineArt: Shifting fix for different camera fitting.YimingWu
FOV was expanded to cover the shifting range, rather than to precisely cut at the image border. Now fixed. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D11523
2021-06-07Cleanup: Fix uninitialized variable warningHans Goudey
2021-06-07Cleanup: renamed function to `extract_run_single_threaded`.Jeroen Bakker
2021-06-07GPUIndexBuf: Find the minimum and maximum index through the builderGermano Cavalcante
Moving the bounds code to the builder can be useful for future optimizations like building multithreaded. Reviewed By: fclem, jbakker Differential Revision: https://developer.blender.org/D11455
2021-06-07Cleanup: Added Guarderalloc deallocators to CPP structs.Jeroen Bakker
2021-06-07Added TODO comment for putting parameters into struct.Jeroen Bakker
2021-06-07Cleanup: move extract points into own compile unit.Jeroen Bakker
2021-06-07Fix T88900: Crash when setting Edge Weight/CreaseGermano Cavalcante
The `recalcData` of "convert_mesh_edge" did more than it was supposed to.
2021-06-07Cleanup: remove trailing space from pipeline_config.jsonSybren A. Stüvel
Remove trailing spaces from `pipeline_config.json` No functional changes.
2021-06-07Fix T88899: `__file__` not set for `text.as_module()`Campbell Barton
2021-06-06Event Simulate: and a --keep-open command line argumentCampbell Barton
It can be useful to investigate the state of the file after event simulation runs.
2021-06-06Cleanup: unused argumentCampbell Barton
2021-06-06LineArt: Fix edge clipping index error.YimingWu
Small bug that's causing edge count to be incorrect in final culled list, just being offset exactly 1 entry. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D11513
2021-06-06VSE: Remove seq->tmp usage from transform codeRichard Antalik
This field was used for extend feature to get handle position of metastrip children. Since D9972 extend feature works only on meta strip itself, not it's children. So `SEQ_transform_get_left_handle_frame()` second argument is always false and can be removed. Another instance of `seq->tmp usage` is hack to distinguish strips to be shuffled, which is not covered by this patch. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D10321