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-23LineAer: benchmarkYimingWu
2021-06-23Merge remote-tracking branch 'origin/master' into lineart-bvhYimingWu
2021-06-23Fix T89265: Crash when tabbing through num inputsFalk David
Fix by reverting the part of ec30cf0b742f5181c4de91b474ca01d6a809c593 that assigned `but->editval` in `ui_numedit_begin_set_values`. Causing access freed memory when using tab to switch to a numeric input and then leaving the textbox by clicking outside. This was because `ui_numedit_begin_set_values` shouldn't need to set `but->editval` and overwrite the pointer. This would set a pointer that had previously been freed, causing a `NULL` check to fail later on. Ref D11679
2021-06-23Fix T89249: incorrect mesh validate error with zeroed vertex normalsCampbell Barton
It's not an error for centered vertices to have a zero normal.
2021-06-23Cleanup: reformat trailing comments that caused line wrappingCampbell Barton
2021-06-23Cleanup: clang-tidy quiet equals-default, nullptr warningsCampbell Barton
2021-06-23Cleanup: suppress clang-tidy warningsCampbell Barton
2021-06-23Cleanup: compiler warning for invalid argument typeCampbell Barton
2021-06-23RNA Manual Reference: Update Mapping FileAaron Carlisle
2021-06-23Fix T89374: Erasing/cutting in Grease Pencil makes Blender shut downAntonio Vazquez
When cut a stroke of 1 point, the clean up done to avoid keep 1 point strokes removes the memory, but the pointer to the first stroke was not set to NULL. As this pointer is invalid now, any use of this produces a segment fault because the pointer is corrupted..
2021-06-23GHOST/XR: fix code formatChristian Rauch
2021-06-22PyDoc: Update Sphinx and pin dependenciesAaron Carlisle
Sphinx has rather loose dependency requirements which can cause issues if we aren't careful. As a solution they recommend that you pin sphinx dependency versions
2021-06-22UI: Fix widget emboss: Also fade on the right sideLeon Leno
Currently the emboss is only fading on left side of the widget, resulting in the emboss extending vertically on the right side and ending abruptly. This patch fixes this by also fading the emboss on the right side and making it symmetric. Differential Revision: https://developer.blender.org/D10810
2021-06-22Transform: display units for proportional edit valueGermano Cavalcante
This fixes T88346. The code is also more readable by making a better distinction between the texts used for Distances, "Proportional Size" and "AutoIK-Len". And the text used to translate the "Proportional Size" is reused.
2021-06-22Cleanup: deduplicate code and rename variablesGermano Cavalcante
This makes it clearer that variables are strings and how they are used in the Move header code.
2021-06-22GHOST/XR: enable X11-EGL context for OpenXRChristian Rauch
2021-06-22GHOST/EGL: add GHOST_XrGraphicsBindingOpenGL as friendChristian Rauch
2021-06-22GHOST/EGL: getters for display, config and contextChristian Rauch
2021-06-22GHOST/EGL: ignore unused variablesChristian Rauch
2021-06-22Fix T89327: Cube and ico sphere nodes do not create UVsHans Goudey
It turns out you have to add the UV custom data layer manually before calling the BMesh primitive operators, even if you pass `calc_uvs=true`.
2021-06-22Cleanup: Spelling MistakesLeon Zandman
This patch fixes many minor spelling mistakes, all in comments or console output. Mostly contractions like can't, won't, don't, its/it's, etc. Differential Revision: https://developer.blender.org/D11663 Reviewed by Harley Acheson
2021-06-22Cleanup: Remove extra blank lineAntonio Vazquez
2021-06-22Fix T89366: GPencil hide layers above parented layerAntonio Vazquez
The problem was the flag was not reset by layer in the loop.
2021-06-22Fix T89343: Point cloud instances not transformed when realizedHans Goudey
This problem has surprisingly been there for quite a few months. For point clouds all attributes were handled the same, even "position", which should be transformed when combining source points into the destination.
2021-06-22Revert "Enhanced stats/reports for blendfile reading."Brecht Van Lommel
This change crashes library linking operators, related tests and probably more. This reverts commit f8d219dfd4c31a918e33cb715472d91a5cd3fd51. Ref D11583
2021-06-22Geometry Nodes: Join curve attributes when realizing instancesHans Goudey
Previously the code assumed that curve instances had no attributes. This is true when the data came from curve objects, which don't support attributes currently, but it isn't necessarily true when retrieving curves from evaluated geometry sets.
2021-06-22Cleanup: Refactor spline copying functionsHans Goudey
Make the virtual functions protected and simpler, so that the logic is better contained in the base class's implementation. Also introduce a `copy_without_attributes` method to be used for realizing instances.
2021-06-22Fix deadlock with shrinkwrap and other modifiersBrecht Van Lommel
More code that needs task isolation. Encountered in sprite fright production file. Ref D11603
2021-06-22Enhanced stats/reports for blendfile reading.Bastien Montagne
Add direct user feedback (as a warning report) to user when recursive resync of overrides was needed. And some timing (as CLOG logs) about main readfile process steps. This is essentially adding a new BlendFileReadReport structure that wraps BKE_reports list, and adds some extra info (some timing, some info about overrides and (recursive) resync, etc.).
2021-06-22LineArt: Move type rejection before visibility checkYimingWu
2021-06-22Minor cleanup to previous commit introducing `BLI_math_time`.Bastien Montagne
Forgot to address latest review comments, sorry for the noise.`:wq
2021-06-22Add initial `BLI_math_time` with a 'seconds decompose' function.Bastien Montagne
Allows to decompose a given amount of seconds into a random set of days/hours/minutes/seconds/milliseconds values. Also add matching test. Differential Revision: https://developer.blender.org/D11581
2021-06-22Fix T89360: Eevee transforms geometry when using "High Quality Normals"Germano Cavalcante
Offset missed in rB44d2479dc36f
2021-06-22LineArt: global look up list for bvhYimingWu
2021-06-22Merge remote-tracking branch 'origin/master' into lineart-bvhYimingWu
2021-06-22Cleanup: split BKE_object_batch_cache_dirty_tagGermano Cavalcante
Create a more specialized function `BKE_object_data_batch_cache_dirty_tag`
2021-06-22Cleanup: deduplicate free codeGermano Cavalcante
It is more appropriate that `depths` is freed in `ED_view3d_depths_free`.
2021-06-22Draw: Added testcases for hair refine shaders.Jeroen Bakker
2021-06-22Fix T89347: Edit-mesh make planar faces doesn't update face normalsCampbell Barton
Invalid face normals were used for tessellation.
2021-06-22Fix T89345: Edit-mesh decimate doesn't update face normalsCampbell Barton
Invalid face normals were used for tessellation.
2021-06-22Fix T89196: Depsgraph use-after-free after scene switching undoSergey Sharybin
Delay depsgraph visibility update tagging until it is known that graph relations are up to date, and until it is known that the graph is actually needed to be evaluated. Differential Revision: https://developer.blender.org/D11660
2021-06-22Cleanup: Use more clear visibility tag function nameSergey Sharybin
No functional changes. Just makes it clear this is not an immediate update, and will make an upcoming change more localized.
2021-06-22Fix error in context menu when built without freestyleCampbell Barton
2021-06-22Cleanup: remove unused menu VIEW3D_MT_edit_mesh_edges_dataCampbell Barton
8aa17c5b12d734332c0af62a110524c4e523fb64 missed removing the menu definition when removing from the UI.
2021-06-22Cleanup: rename playhead in the UI and codeCampbell Barton
Current convention is not to use this term, use "current frame", and "timeline frame" in render.c as this is the argument passed in.
2021-06-223D View: adjust order of planes for occlusion checkCampbell Barton
Move far plane last since it's the least likely to intersect edges.
2021-06-22OptiX: select BVH build options from Scene paramsKévin Dietrich
Currently, the OptiX BVH build options are selected based on whether we are in background mode (final renders) or not (viewport renders). In background mode, the BVH is built for fast path tracing and low memory footprint, while in viewport, it is built for fast updates. However, on platforms without OpenGL support, the background flag is always set to true and prevents using fast BVH builds in the viewport. Now, the BVH options derive from the Scene BVH settings: * if BVH is static, a fast to trace BVH is built * if BVH is dynamic, a fast to update BVH is built Reviewed By: #cycles, brecht Differential Revision: https://developer.blender.org/D11154
2021-06-22Fix bone select failing with end-points outside the viewCampbell Barton
Apply the same fix for T32214 (edge-select failing) to bones which also failed when their end-points were outside of the view. - Add V3D_PROJ_TEST_CLIP_CONTENT support for edit & pose bone iterator and use for selection operators. - Remove unnecessarily complicated checks with pose-mode lasso tagging. - Correct error in pose-mode LassoSelectUserData.is_changed (currently harmless as it's not read back).
2021-06-22Cleanup: use early return for selection callbacksCampbell Barton
2021-06-22Cleanup: spellingCampbell Barton