WIP: Fix #103978 Python: Add deprecation warnings to GPUBatch program usage #105174

Closed
Prakhar-Singh-Chouhan wants to merge 184 commits from (deleted):main into blender-v3.5-release

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
4 changed files with 5 additions and 5 deletions
Showing only changes of commit 043bff144d - Show all commits

View File

@ -596,8 +596,7 @@ void BKE_crazyspace_api_eval_clear(Object *object)
namespace blender::bke::crazyspace {
GeometryDeformation get_evaluated_curves_deformation(const Object *ob_eval,
const Object &ob_orig)
GeometryDeformation get_evaluated_curves_deformation(const Object *ob_eval, const Object &ob_orig)
{
BLI_assert(ob_orig.type == OB_CURVES);
const Curves &curves_id_orig = *static_cast<const Curves *>(ob_orig.data);

View File

@ -54,7 +54,7 @@ typedef struct {
BMBackup mesh_backup;
bool is_valid;
bool is_dirty;
} *backup;
} * backup;
int backup_len;
} BisectData;

View File

@ -12,9 +12,9 @@
#include "BLI_linklist.h"
#include "BLI_listbase.h"
#include "BLI_math.h"
#include "BLI_sort.hh"
#include "BLI_task.h"
#include "BLI_utildefines.h"
#include "BLI_sort.hh"
#include "BLI_vector.hh"
#include "PIL_time.h"
@ -1889,7 +1889,7 @@ static void lineart_edge_neighbor_init_task(void *__restrict userdata,
edge_nabr->flags = 0;
}
void lineart_sort_adjacent_items(LineartAdjacentEdge *ai, int length)
static void lineart_sort_adjacent_items(LineartAdjacentEdge *ai, int length)
{
blender::parallel_sort(
ai, ai + length, [](const LineartAdjacentEdge &p1, const LineartAdjacentEdge &p2) {

View File

@ -14,6 +14,7 @@ import bpy
args = None
class AbstractUSDTest(unittest.TestCase):
@classmethod
def setUpClass(cls):