The up_axis_update/forward_axis_update was the same logic between the two, so factor that out. Also use the same time reporting logic in PLY as in OBJ/USD/Alembic.
23 lines
510 B
C++
23 lines
510 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
#include "RNA_types.h"
|
|
|
|
struct Main;
|
|
struct Scene;
|
|
|
|
typedef enum {
|
|
IO_AXIS_X = 0,
|
|
IO_AXIS_Y = 1,
|
|
IO_AXIS_Z = 2,
|
|
IO_AXIS_NEGATIVE_X = 3,
|
|
IO_AXIS_NEGATIVE_Y = 4,
|
|
IO_AXIS_NEGATIVE_Z = 5,
|
|
} eIOAxis;
|
|
|
|
extern const EnumPropertyItem io_transform_axis[];
|
|
|
|
void io_ui_forward_axis_update(struct Main *main, struct Scene *scene, struct PointerRNA *ptr);
|
|
void io_ui_up_axis_update(struct Main *main, struct Scene *scene, struct PointerRNA *ptr);
|