Skip to content

Commit d188744

Browse files
committed
Merge remote-tracking branch 'b/main'
2 parents 085baae + 2dff457 commit d188744

File tree

859 files changed

+51824
-18410
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

859 files changed

+51824
-18410
lines changed

.clang-format

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ ForEachMacros:
258258
- SEQ_ALL_BEGIN
259259
- SEQ_ITERATOR_FOREACH
260260
- SURFACE_QUAD_ITER_BEGIN
261-
- foreach
262261
- ED_screen_areas_iter
263262
- SLOT_PROBING_BEGIN
264263
- SET_SLOT_PROBING_BEGIN

build_files/cmake/packaging.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ if(WIN32)
107107

108108
set(CPACK_WIX_TEMPLATE ${CMAKE_SOURCE_DIR}/release/windows/installer_wix/WIX.template)
109109
set(CPACK_WIX_UI_BANNER ${CMAKE_SOURCE_DIR}/release/windows/installer_wix/WIX_UI_BANNER.bmp)
110-
set(CPACK_WIX_UI_DIALOG ${CMAKE_SOURCE_DIR}/release/windows/installer_wix/WIX_UI_DIALOG.bmp)
110+
set(CPACK_WIX_UI_DIALOG ${CMAKE_SOURCE_DIR}/release/windows/installer_wix/WIX_UI_DIALOG.png)
111111
set(CPACK_WIX_EXTRA_SOURCES ${CMAKE_SOURCE_DIR}/release/windows/installer_wix/WixUI_Blender.wxs)
112112
set(CPACK_WIX_UI_REF "WixUI_Blender")
113113
set(CPACK_WIX_LIGHT_EXTRA_FLAGS -dcl:medium)

doc/python_api/examples/bpy.props.1.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
button in the 3D View-port's Tools panel. The latter will show the properties
88
in the Redo panel and allow you to change them.
99
"""
10+
1011
import bpy
1112

1213

@@ -21,7 +22,7 @@ class OBJECT_OT_property_example(bpy.types.Operator):
2122

2223
def execute(self, context):
2324
self.report(
24-
{'INFO'}, "F: {:.2f} B: {:s} S: {!r}".format(
25+
{'INFO'}, "F: {:.2f} B: {!s} S: {!r}".format(
2526
self.my_float, self.my_bool, self.my_string,
2627
)
2728
)

intern/cycles/scene/osl.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,8 @@ void OSLManager::reset(Scene * /*scene*/) {}
15491549
void OSLManager::device_update_pre(Device * /*device*/, Scene * /*scene*/) {}
15501550
void OSLManager::device_update_post(Device * /*device*/,
15511551
Scene * /*scene*/,
1552-
Progress & /*progress*/)
1552+
Progress & /*progress*/,
1553+
const bool /*reload_kernels*/)
15531554
{
15541555
}
15551556
void OSLManager::device_free(Device * /*device*/, DeviceScene * /*dscene*/, Scene * /*scene*/) {}

intern/cycles/scene/volume.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ static void merge_scalar_grids_for_velocity(const Scene *scene, Volume *volume)
606606
vecgrid->tree().topologyUnion(vel_z_grid->tree());
607607

608608
MergeScalarGrids op(&vel_x_grid->tree(), &vel_y_grid->tree(), &vel_z_grid->tree());
609-
openvdb::tools::foreach (vecgrid->beginValueOn(), op, true, false);
609+
openvdb::tools::foreach(vecgrid->beginValueOn(), op, true, false);
610610

611611
/* Assume all grids have the same transformation. */
612612
const openvdb::math::Transform::Ptr transform = openvdb::ConstPtrCast<openvdb::math::Transform>(

intern/ghost/GHOST_Types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ typedef enum {
371371
GHOST_kStandardCursorHandOpen,
372372
GHOST_kStandardCursorHandClosed,
373373
GHOST_kStandardCursorHandPoint,
374+
GHOST_kStandardCursorBlade,
374375
GHOST_kStandardCursorCustom,
375376

376377
#define GHOST_kStandardCursorNumCursors (int(GHOST_kStandardCursorCustom) + 1)

intern/ghost/intern/GHOST_SystemWayland.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2309,6 +2309,7 @@ static const GWL_Cursor_ShapeInfo ghost_wl_cursors = []() -> GWL_Cursor_ShapeInf
23092309
CASE_CURSOR(GHOST_kStandardCursorLeftHandle, "");
23102310
CASE_CURSOR(GHOST_kStandardCursorRightHandle, "");
23112311
CASE_CURSOR(GHOST_kStandardCursorBothHandles, "");
2312+
CASE_CURSOR(GHOST_kStandardCursorBlade, "");
23122313
CASE_CURSOR(GHOST_kStandardCursorCustom, "");
23132314
}
23142315
#undef CASE_CURSOR

intern/opencolorio/ocio_impl.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ OCIO_ConstConfigRcPtr *OCIOImpl::configCreateFromFile(const char *filename)
126126

127127
void OCIOImpl::configRelease(OCIO_ConstConfigRcPtr *config)
128128
{
129-
MEM_delete((ConstConfigRcPtr *)config);
129+
MEM_delete(reinterpret_cast<ConstConfigRcPtr *>(config));
130130
}
131131

132132
int OCIOImpl::configGetNumColorSpaces(OCIO_ConstConfigRcPtr *config)
@@ -417,7 +417,7 @@ const char *OCIOImpl::lookGetProcessSpace(OCIO_ConstLookRcPtr *look)
417417

418418
void OCIOImpl::lookRelease(OCIO_ConstLookRcPtr *look)
419419
{
420-
MEM_delete((ConstLookRcPtr *)look);
420+
MEM_delete(reinterpret_cast<ConstLookRcPtr *>(look));
421421
}
422422

423423
int OCIOImpl::colorSpaceIsInvertible(OCIO_ConstColorSpaceRcPtr *cs_)
@@ -536,7 +536,7 @@ void OCIOImpl::colorSpaceIsBuiltin(OCIO_ConstConfigRcPtr *config_,
536536

537537
void OCIOImpl::colorSpaceRelease(OCIO_ConstColorSpaceRcPtr *cs)
538538
{
539-
MEM_delete((ConstColorSpaceRcPtr *)cs);
539+
MEM_delete(reinterpret_cast<ConstColorSpaceRcPtr *>(cs));
540540
}
541541

542542
OCIO_ConstProcessorRcPtr *OCIOImpl::configGetProcessorWithNames(OCIO_ConstConfigRcPtr *config,
@@ -563,7 +563,7 @@ OCIO_ConstProcessorRcPtr *OCIOImpl::configGetProcessorWithNames(OCIO_ConstConfig
563563

564564
void OCIOImpl::processorRelease(OCIO_ConstProcessorRcPtr *processor)
565565
{
566-
MEM_delete(processor);
566+
MEM_delete(reinterpret_cast<ConstProcessorRcPtr *>(processor));
567567
}
568568

569569
OCIO_ConstCPUProcessorRcPtr *OCIOImpl::processorGetCPUProcessor(
@@ -671,7 +671,7 @@ void OCIOImpl::cpuProcessorApplyRGBA_predivide(OCIO_ConstCPUProcessorRcPtr *cpu_
671671

672672
void OCIOImpl::cpuProcessorRelease(OCIO_ConstCPUProcessorRcPtr *cpu_processor)
673673
{
674-
MEM_delete(cpu_processor);
674+
MEM_delete(reinterpret_cast<ConstCPUProcessorRcPtr *>(cpu_processor));
675675
}
676676

677677
const char *OCIOImpl::colorSpaceGetName(OCIO_ConstColorSpaceRcPtr *cs)
@@ -841,7 +841,7 @@ OCIO_PackedImageDesc *OCIOImpl::createOCIO_PackedImageDesc(float *data,
841841

842842
void OCIOImpl::OCIO_PackedImageDescRelease(OCIO_PackedImageDesc *id)
843843
{
844-
MEM_delete((PackedImageDesc *)id);
844+
MEM_delete(reinterpret_cast<PackedImageDesc *>(id));
845845
}
846846

847847
const char *OCIOImpl::getVersionString()

lib/linux_x64

Submodule linux_x64 updated from 3cf676e to 97ca3cf

lib/macos_arm64

Submodule macos_arm64 updated from d37f75b to 61f8c33

0 commit comments

Comments
 (0)