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
path: root/source
AgeCommit message (Collapse)Author
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-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
2022-10-07Cleanup: Avoid inconsistent naming in mesh topology APIHans Goudey
Mesh corners are called "loops" in the code currently. Avoid diverging naming and just use that convention in some newly added code.
2022-10-07Cleanup: Move subdiv_ccg.c to C++Hans Goudey
In preparation for moving mesh runtime data to C++
2022-10-07Cleanup: Move eight modifier files to C++Hans Goudey
In preparation for moving mesh runtime data to C++.
2022-10-07Sculpt: Raise pbvh->leaf_limit to 400 for dyntopoJoseph Eagar
Setting pbvh->leaf_limit (the max triangles per node) too low results in lots of distinct GPU meshes, which can be slow for even moderately sized sculpt meshes (starts to be a problem around 100-150k triangles).
2022-10-07Sculpt: Fix T101502: GPU tris miscounted for dyntopoJoseph Eagar
Dyntopo PBVH draw was miscounting the number of triangles.
2022-10-06Cleanup: Move subdiv_modifier.c to C++Hans Goudey
In preparation for moving mesh runtime data to a C++ type
2022-10-06Cleanup: Move shrinkwrap.c to C++Hans Goudey
2022-10-06Sculpt: Fix bug in sculpt attribute apiJoseph Eagar
SculptAttribute.domain wasn't being set when creating from an existing CustomData attribute.
2022-10-06Fix: Properly free non-trivial node editor runtime typeHans Goudey
2022-10-06Cleanup: Remove unnecessary MOD_nodes.h includesHans Goudey
2022-10-06DRW: fix use of potentially uninitialized variableGermano Cavalcante
Bug introduced in rB6774cae3f25b. This causes undefined behavior in `DRW_state_draw_support()` making overlay depth drawing unpredictable.
2022-10-06Fix for T53332: BFont 43 Inaccessible GlyphsHarley Acheson
Preloading of BFont (default for 3D Text Objects) glyphs will not load any with a character code greater than 256, resulting in 43 characters that are inaccessible. This patch corrects that preloading code. See D16122 for more details Differential Revision: https://developer.blender.org/D16122 Reviewed by Campbell Barton
2022-10-06Animation: Expose "mute" for drivers in their properties UISybren A. Stüvel
In the driver editor and the "edit driver" popover, add a checkbox that can mute the driver. This is the same functionality as the checkbox in the driver editor's channel list, but then exposed in a different place in the UI. This is for convenience, such that a driver can now be muted by right-clicking on the driven property, choosing "Edit Driver", then muting it there. The same checkbox was added to the regular driver editor's header for consistency. Reviewed By: Severin Maniphest Tasks: T101592 Differential Revision: https://developer.blender.org/D16173
2022-10-06Fix: Use after free in geometry node group loggerHans Goudey
The name of the node group in the geometry nodes logger is created in `GeoModifierLog::get_local_tree_logger`, where it references the compute context. However, the compute context is a local variable that doesn't live as long as the log. Therefore the log needs to own the node group name. Removing the ownership from `NodeGroupComputeContext` may be possible as well, but seems less obviously correct. This can be a temporary solution until we can completely avoid storing strings in the logger (see D15775). Fixes T101599
2022-10-06UI: remove extraneous inversion of "inverted" button stateSybren A. Stüvel
Fix an issue where a `UI_BTYPE_CHECKBOX_N` button couldn't be toggled. When toggling the value of a property, the `UI_BTYPE_TOGGLE_N`, `UI_BTYPE_ICON_TOGGLE_N`, and `UI_BTYPE_CHECKBOX_N` types shouldn't matter. These determine the inverted display of the value, but toggles of that value should still happen once. For these button types, the toggle happened twice, effectively making it a no-op. The code for individual values is now also consistent with the code for handling bit-flags. Actually found & over-the-shoulder-reviewed by @Severin
2022-10-06Cleanup: Move multires.c to C++Hans Goudey
2022-10-06GPencil: Use new icons for Envelope and Outline modifiersAntonio Vazquez
Before both modifiers were using Skin icon.
2022-10-06UI: New modifier Icons Envelope and OutlineAntonio Vazquez
Task: T101155 Designed by: Matias Mendiola Reviewed by : Pablo Vazquez
2022-10-06Fix T101618: Freeze when reloading a library in certain situationPhilipp Oeser
Freeze happened when reloading a library while having an Object property with a custom getter function defined in Python. Just piggybacking on rB62eb21e3ce87, this just applies the same fix (use the BPy_BEGIN/END_ALLOW_THREADS macros) to relading from RNA/py. All credit goes to @brecht and @mont29. Maniphest Tasks: T101618 Differential Revision: https://developer.blender.org/D16167