Cleanup: C++ style of structure definition
This commit is contained in:
parent
4070bb242d
commit
4d2672ca7f
|
@ -93,9 +93,9 @@ static void deg_task_run_func(TaskPool *pool,
|
|||
BLI_task_pool_delayed_push_end(pool, thread_id);
|
||||
}
|
||||
|
||||
typedef struct CalculatePendingData {
|
||||
struct CalculatePendingData {
|
||||
Depsgraph *graph;
|
||||
} CalculatePendingData;
|
||||
};
|
||||
|
||||
static bool check_operation_node_visible(OperationNode *op_node)
|
||||
{
|
||||
|
|
|
@ -838,11 +838,11 @@ ID *deg_expand_copy_on_write_datablock(const Depsgraph *depsgraph,
|
|||
create_placeholders);
|
||||
}
|
||||
|
||||
typedef struct ObjectRuntimeBackup {
|
||||
struct ObjectRuntimeBackup {
|
||||
Object_Runtime runtime;
|
||||
short base_flag;
|
||||
unsigned short base_local_view_bits;
|
||||
} ObjectRuntimeBackup;
|
||||
};
|
||||
|
||||
/* Make a backup of object's evaluation runtime data, additionally
|
||||
* make object to be safe for free without invalidating backed up
|
||||
|
|
Loading…
Reference in New Issue