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
2022-08-18CMake: support building with musl libclistout
Instead of using macros like GLIBC we can use the CMake build systems internal functions to check if some header or functions are present on the running system's libc. Add ./build_files/cmake/have_features.cmake to add checks for platform features which can be used to set defines for source files that require them. Reviewed By: campbellbarton Ref D15696
2022-08-18Cleanup: Move subdiv_mesh.c to C++Hans Goudey
2022-08-17UI: Fix inconsistency use of uppercase/capitalizationPablo Vazquez
Since VBO stands for vertex buffer object it should always be uppercase. "Vertex" in "vertex buffer object" should only be capitalized at the beginning of a sentence.
2022-08-17UI: Avoid the word "Use" in checkbox labelsPablo Vazquez
As per the writing styles guidelines. https://wiki.blender.org/wiki/Human_Interface_Guidelines/Writing_Style
2022-08-17Outliner: Compile outliner tree-hashing files in C++Julian Eisel
Some performance issues were found here with a heavy production file and we want to look into using some C++ to improve things for this ancient code.
2022-08-17Cleanup: Improvements to Outliner tree writing code, add assertJulian Eisel
Comments there weren't really helpful, took me a while to get what they try to say. This attempts to add a better explanation. Also add an assert for a previous, implicit (but commented) assumption, and some minor cleanups.
2022-08-17Outliner: Avoid unnecessary Outliner storage copyJulian Eisel
Was always creating a copy of `SpaceOutliner`, even though it's only needed for one conditional branch. This is a shallow copy, so shouldn't be that expensive, still trivial to avoid.
2022-08-17Fix: Compiler warning in macro after recent C++ conversionHans Goudey
The iterator parameters struct should be initialized to zero in both C and C++. Using memset seems to be the only reliable way to do that.
2022-08-17Cleanup: Remove redundant use of evaluated non-mesh objectsHans Goudey
Metaball, curve, text, and surface objects use the geometry component system to add evaluated mesh object instances to the dependency graph "for render engine" iterator. Therefore it is unnecessary to process those object types in these loops-- it would either be redundant work or a no-op.
2022-08-17Merge branch 'blender-v3.3-release'Bastien Montagne
2022-08-17LibOverride: Remove the 'make all editable' user preferences.Bastien Montagne
This behavior is now implicitely controlled by the 'Make' operations, based either on context or selected items.
2022-08-17Cleanup: Fix outdated commentHans Goudey
2022-08-17Cleanup: Remove unused functionHans Goudey
Also remove two DispList references I missed in the previous commit.
2022-08-17Cleanup: Fix outdated comments referring to DispListHans Goudey
2022-08-17Merge branch 'blender-v3.3-release'Hans Goudey
2022-08-17Fix: Node editor context path for curves objectsHans Goudey
The object data path item wasn't added properly. Also remove some of the unnecessary variables and forward declarations.
2022-08-17Metaball: Evaluate metaball objects as mesh componentsHans Goudey
With the ultimate goal of simplifying drawing and evaluation, this patch makes the following changes and removes code: - Use `Mesh` instead of `DispList` for evaluated basis metaballs. - Remove all `DispList` drawing code, which is now unused. - Simplify code that converts evaluated metaballs to meshes. - Store the evaluated mesh in the evaluated geometry set. This has the following indirect benefits: - Evaluated meshes from metaball objects can be used in geometry nodes. - Renderers can ignore evaluated metaball objects completely - Cycles rendering no longer has to convert to mesh from `DispList`. - We get closer to removing `DispList` completely. - Optimizations to mesh rendering will also apply to metaball objects. The vertex normals on the evaluated mesh are technically invalid; the regular calculation wouldn't reproduce them. Metaball objects don't support modifiers though, so it shouldn't be a problem. Eventually we can support per-vertex custom normals (T93551). Differential Revision: https://developer.blender.org/D14593
2022-08-17Cleanup: Remove unused Outliner search element storageJulian Eisel
This is old code to keep track of an active search element, so you could step through the search results. This isn't used anymore, and not needed since searching now filters the tree to only show matches. If we ever wanted to have support for stepping through elements again, that should be done via the active element instead.
2022-08-17Cleanup: Move view3d_select.c to C++Hans Goudey
Almost entirely adding casting and standard clang tidy changes. Also switch to `blender::Vector` instead of the macro-based `BLI_array`.
2022-08-17Fix: Crash if Movie Clip node has an empty movieOmar Emara
The movie clip GPU texture free function doesn't do null checks, so make sure the movie clip is not null before freeing.
2022-08-17install_deps: replace `libglew` by `libepoxy`.Bastien Montagne
Should have been part of D15291/rBa296b8f694d1. ref. T99618
2022-08-17Merge branch 'blender-v3.3-release'Philipp Oeser
2022-08-17Use report warning opening file written by newer Blender binaryPhilipp Oeser
handle_subversion_warning() was reporting with RPT_ERROR type, replaced with RPT_WARNING. RPT_ERROR would stop python scripts opening files written by newer Blender binary with bpy.ops.wm.open_mainfile(), preventing further code from running. This does not seem right since Blender itself still loads the files. Ran into this checking T100446 in 2.93. Differential Revision: https://developer.blender.org/D15712
2022-08-17Cleanup: conversion warnings in GCCCampbell Barton
2022-08-17Merge branch 'blender-v3.3-release'Bastien Montagne
2022-08-17Cleanup: Fix "unused m_system" warningsSebastian Parborg
The dummy `m_system` variable is not needed in the GHOST_NULL classes
2022-08-17LibOverride: Add Make/Reset/Clear entries to IDTemplate contextual menu.Bastien Montagne
Matches main operations exposed in View3D and the Outliner.
2022-08-17Merge branch 'blender-v3.3-release'Campbell Barton
2022-08-17Fix T100411: Invert Axis Pan option ignored for Lock Camera Pan/ZoomCampbell Barton
2022-08-17GHOST/EGL: Only draw grey into buffers attached to windowsCampbell Barton
Avoid redundant drawing, match GHOST/GLX behavior.
2022-08-17WM: update comment about window redraw for thumbnailsCampbell Barton
2022-08-17Merge branch 'blender-v3.3-release'Campbell Barton
2022-08-17Merge branch 'blender-v3.3-release'Campbell Barton
2022-08-17Cleanup: spelling in commentsCampbell Barton
2022-08-17Fix freed memory access checking events with debug buildsCampbell Barton
Pressing escape when rendering a viewport animation would access the freed even and crash (with ASAN enabled). Always check the context's window before the event as this is a signal a file was loaded or the window was closed (and it's events freed).
2022-08-17Fix: build issue with MSVCRay Molenkamp
empty initializers are not allowed in C99 introduced by rB2481be90e38d36abc06501c395105fa1833baf1c
2022-08-17Merge branch 'blender-v3.3-release'Richard Antalik
2022-08-17Fix T100079: Encoding with DNxHD fails due to bad parametersRichard Antalik
Constant_rate_factor mode was not updated when choosing DNxHD codec in RNA update function. Ensure `FFM_CRF_NONE` is set.
2022-08-17Fix T98462: Save Screenshot (glReadPixels) fails under WaylandCampbell Barton
Use an off-screen buffer for the screen-shot operator. Reading from the front-buffer immediately after calling swap-buffers failed for GHOST/Wayland in some cases. While EGL can request to preserve the front-buffer while drawing, this isn't always supported. So workaround the problem by avoiding use of the front-buffer entirely.
2022-08-17Cleanup: shadow warningCampbell Barton
2022-08-17WM: ensure AlembicImportParams are always initializedCampbell Barton
Initialize all members before assignment, ensuring newly added members are never left uninitialized.
2022-08-17Cleanup: strip blank lines around comment blocksCampbell Barton
2022-08-17Cleanup: add missing doxy sectionsCampbell Barton
2022-08-17Cleanup: quiet shadow warningCampbell Barton
2022-08-17UV: grab tool supports live unwrapChris Blackbourn
Differential Revision: https://developer.blender.org/D15709
2022-08-17UV: add geometry driven uv relax brushChris Blackbourn
Differential Revision: https://developer.blender.org/D15530
2022-08-17Cleanup: compiler warnings, clang-tidyCampbell Barton
2022-08-17Cleanup: Move view layer array utils from macros to functionsHans Goudey
These macros don't compile in C++ because of taking an address of a temporary and use of designated initializers. Besides that, using functions can improve debugging and type safety. Differentil Revision: https://developer.blender.org/D15693
2022-08-17BLF: FreeType Optional CachingHarley Acheson
Implementation of the FreeType 2 cache subsystem, which limits the number of concurrently-opened FT_Face and FT_Size objects, as well as caching information like character maps to speed up glyph id lookups. This time with the option of opening FontBLFs that are not cached. See D15686 for more details. Differential Revision: https://developer.blender.org/D15686 Reviewed by Brecht Van Lommel
2022-08-16Fix T99872: Crash Loading Embedded Fonts - MasterHarley Acheson
Commit rBc0845abd897f to 3.4 (master) uses font's filepath without checking if it exists, therefore crashing on embedded fonts since they do not have a filepath (loaded from memory). See D15703 for more details Differential Revision: https://developer.blender.org/D15703 Reviewed by Brecht Van Lommel