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-10-08Cleanup: Fix outdated mesh data commentsHans Goudey
2022-10-08Linux: enable WAYLAND by defaultCampbell Barton
Enable the following CMake options: - WITH_GHOST_WAYLAND Enable Wayland which is now included as part the bundled dependencies. When the pre-compiled libraries aren't used, only X11 will be enabled. - WITH_GHOST_WAYLAND_DYNLOAD So systems without libwayland can fall back to X11. - WITH_GHOST_WAYLAND_LIBDECOR To draw window frames on WAYLAND compositors such as gnome-shell which expect client-side decorations (without this the Blender window is borderless). Unfortunately there doesn't seem to be a reliable way to know if the compositors handles server-side decorations, so libdecor is required for Wayland to be used even with KDE and tiling compositors where it's not needed. Although this is an area that could use some further investigation - possibly bundling libdecor or handling client-side decorations in Blender. The final part of D16091.
2022-10-08Build: show X11 & Wayland options on first runCampbell Barton
2022-10-08Mesh: Multithread some boolean domain interpolation logicIliya Katueshenock
This can improve performance by 3-10x in some simple test cases, when reading a boolean attribute on a different domain from the one it's stored on. Differential Revision: https://developer.blender.org/D16054
2022-10-08Viewport: Enable draw_debug.cc code when WITH_DRAW_DEBUG is onJoseph Eagar
2022-10-08Curve: Retain active NURBS curve after point deletionLaurynas Duburas
Before, the active spline index and the active point index were always cleared. Now the active index is only cleared when the curve/surface is deleted. This was accomplished by making the surface patch delete function handle that correctly. The spline deletion already handled it. This fixes only vertex deletion mode. Fixes problem mentioned in T101160. Differential Revision: https://developer.blender.org/D16133
2022-10-08Build: reference bundled wayland and libdecor headersCampbell Barton
When using pre-compiled libs, reference the bundled wayland headers, needed so the headers from the bundled wayland-scanner are compatible. Part of D16091.
2022-10-08Deps: add libdecor for Wayland window framesCampbell Barton
Include libdecor, note that this only bundles a header file as Blender dynamically loads on the system at run-time. Part of D16091.
2022-10-08Deps: harvest Wayland headers, build Wayland librariesCampbell Barton
The headers on centOS7 (Wayland 1.15) aren't compatible with the headers generated by wayland-scanner 1.20. Include the headers to support building Wayland on systems with older Wayland installed. Using these headers will be part of a separate commit. Part of D16091.
2022-10-07Fix T101424: Empty group node added to node add searchHans Goudey
The group node type polls true, but adding an empty group node isn't useful, so just skip it.
2022-10-07FIX T101275: Regression in NLA causes Actions to be ignored by Context menu ↵Nate Rupsis
(I.e influence, etc) Reviewed By: sybren Differential Revision: http://developer.blender.org/D16154
2022-10-07Fix small errors in tool tips for path guidingBrecht Van Lommel
Contributed by Alaska. Differential Revision: https://developer.blender.org/D16166
2022-10-07Cleanup: Move editmesh_undo.c to C++Hans Goudey
To allow moving mesh runtime data to C++ (D16180).
2022-10-07Fix: One-API build issue on windows.Ray Molenkamp
Flags were not properly passed to the compiler.
2022-10-07GPencil: New Fill Extend lines adjust with MMBAntonio Vazquez
The actual length of extension lines can be adjusted using wheel mouse but this is very inconvenient for tablet users. Now, the extension can be adjusted using MMB of the pen. There was a similar request in Right-Click Select Reviewed By: Matias Mendiola, Daniel Martinez Lara Differential Revision: https://developer.blender.org/D16128
2022-10-07Cycles: link oneAPI backend with debug version of sycl when in DebugXavier Hallade
It fixes SYCL runtime issues in Debug builds that were due to mixing Release and Debug MSVC runtimes. This commit also removes specific handling of dpcpp compiler executable to simplify the CMake implementation. Using it like clang++ works and clang++ executable is also available from Intel oneAPI DPC++ compiler in case it doesn't.
2022-10-07Cleanup: redundant parenthesisCampbell Barton
2022-10-07Cleanup: use function style casts for C++Campbell Barton
2022-10-07Cleanup: DRW: Rename ViewInfos to ViewMatricesClément Foucault
This makes sense now that the struct only contains matrices.
2022-10-07DRW: Remove mouse_pixel and is_inverted from ViewInfosClément Foucault
This is part of the effor to simplify the View struct in order to implement multiview rendering. `mouse_pixel` is only use for debug purpose and will be reintroduced later. `is_inverted` is moved to `draw::View`.
2022-10-07DRW: Remove viewport_size from DRWViewClément Foucault
This is part of the effor to simplify the View struct in order to implement multiview rendering.
2022-10-07EEVEE-Next: Use global viewport size instead of DRWView oneClément Foucault
This is part of the effor to simplify the View struct in order to implement multiview rendering.
2022-10-07GPencil: Use global viewport size instead of DRWView oneClément Foucault
This is part of the effor to simplify the View struct in order to implement multiview rendering.
2022-10-07Basic: Use global viewport size instead of DRWView oneClément Foucault
This is part of the effor to simplify the View struct in order to implement multiview rendering.
2022-10-07Overlay: Use global viewport size instead of DRWView oneClément Foucault
This is part of the effor to simplify the View struct in order to implement multiview rendering.
2022-10-07DRW: Remove screen_vecsClément Foucault
These were only a normalized copy of the XY axes of the inverse viewmat. But since the viewmatrix is always normalized we can use it directly.
2022-10-07DRW: Move clipping planes to their own UBOClément Foucault
This is part of the effor to simplify the View struct in order to implement multiview rendering.
2022-10-07EEVEE: Move reflection clip plane to local storageClément Foucault
This avoid dependency with the draw view.
2022-10-07DRW: Use view_clipping_distances instead of world_clip_planes_set_clip_distanceClément Foucault
No functional change. `view_clipping_distances` is prefered as it is auto masked.
2022-10-07DRW: Remove view vectorsClément Foucault
This is part of the effor to simplify the View struct in order to implement multiview rendering. The viewvecs can easilly be replace by projection matrix operation. Even if slightly more complex, there is no performance impact.
2022-10-07DRW: Move CameraTexCoFactors to engine specific storageClément Foucault
This is part of the effor to simplify the View struct in order to implement multiview rendering. The CameraTexCoFactors being only valid for a single view, and being only used in very few places, it make sense to move it to the engine side.
2022-10-07DRW: Split ViewCullingData out of ViewInfosClément Foucault
This is in order to reduce the size of ViewInfos and support multi view rendering.
2022-10-07Armature Modifier: skip non-deforming vertices in Multi-Modifier mode.Alexander Gavrilov
The modifier already contained a check to skip complex processing of vertices that won't produce any deformation due to the vertex group mask, but this only works for the non-Multi Modifier case. This adds a similar check for the Multi Modifier mode. Differential Revision: https://developer.blender.org/D16152
2022-10-07Fix T101547: Add update notifiers in dopesheet and timeline selection operatorsAmelie Fondevilla
Updates the function checking if a container can have grease pencil layer keyframes, to account for dopesheet in main mode, and timeline. Reviewed By: Sybren A. Stüvel Differential Revision: http://developer.blender.org/D16132
2022-10-07Fix missing header include when using timeit feature.Bastien Montagne
2022-10-07Refactor: adding function to check if an animation container has grease ↵Amelie Fondevilla
pencil layer keyframes. Used in action_select to refactor the selection operators. No functional changes. Reviewed By: Sybren A. Stüvel Differential Revision: http://developer.blender.org/D16168
2022-10-07Cycles: use direct linking for oneAPI backendXavier Hallade
This is a minimal set of changes, allowing a lot of cleanup that can happen afterward as it allows sycl method and objects to be used outside of kernel.cpp. Reviewed By: brecht, sergey Differential Revision: https://developer.blender.org/D15397
2022-10-07Fix T100953: Zooming with NDOF is inverted in the camera viewCampbell Barton
Use convention for applying zoom in other 2D views.
2022-10-07Cleanup: replace static variables with argumentsCampbell Barton
Functions in vfontdata_freetype.c used static variables instead of argument parsing. This originates from initial freetype support [0]. This didn't cause problems as callers use a global lock, however it makes the code more difficult to follow means we can more easily remove the lock in the future. [0]: d4f9678b3939a3b480005fee3b82ad8843de51e0
2022-10-07Cleanup: use doxy sectionsCampbell Barton
Also use doxy syntax for some comments.
2022-10-07GHOST/Wayland: silence warnings for modifier key handling in GNOMECampbell Barton
GNOME (mutter) intentionally doesn't follow the Wayland spec for the keyboard_enter events (held keys are always an empty array). This means we can't know which keys are held on window activation, making the result of getModifierKeys invalid (in that we don't know which modifiers are held). Detect this situation and suppress warnings as the issue has been reported and it doesn't help for users to see noisy warnings for a known problem.
2022-10-07GHOST/Wayland: improve logging messages for keyboard eventsCampbell Barton
2022-10-07Cleanup: remove redundant 'using'Campbell Barton
clang-tidy converts C-style typedefs to this style, but the "using ..." isn't needed.
2022-10-073D View: depth sort candidates in the selection menuCampbell Barton
Objects/bones in the selection menu weren't ordered usefully, worse, the closest items could be left out of the menu since items would stop being added once the menu-size limit was reached. Resolve this by sorting the menu items by depth, removing the most distant when the number of items exceeds the limit. When Ctrl is held, order by the distance to the object center instead of depth.
2022-10-07Cleanup: share factory reset propertiesCampbell Barton
2022-10-07Cleanup: quiet compiler shadowed variable warningCampbell Barton
2022-10-07Fix for T101481: Improved VFont LoadingHarley Acheson
Remove redundancy in the testing and loading of VFont fonts. Includes improved setting of character map for using Wingding and Symbol fonts. See D16174 for more details. Differential Revision: https://developer.blender.org/D16174 Reviewed by Campbell Barton
2022-10-07Preferences: support loading factory settings only for app-templatesCampbell Barton
When app-templates are enabled, support resetting defaults only for the app-templates. Without this, it's not possible to reset app-template preferences without also resetting the default preferences for all settings the app-template does not override (used when there is no application template loaded, and other app-templates). These additional menu items are shown in menus when an app-template has been loaded. Address issue raised by T96427. Reviewed By: mont29, brecht Ref D16150
2022-10-07Cleanup: compiler warningCampbell Barton
2022-10-07Cleanup: spelling in commentsCampbell Barton