Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_scene_types.h
| /* SPDX-License-Identifier: GPL-2.0-or-later | /* SPDX-License-Identifier: GPL-2.0-or-later | ||||
| * Copyright 2001-2002 NaN Holding BV. All rights reserved. */ | * Copyright 2001-2002 NaN Holding BV. All rights reserved. */ | ||||
| /** \file | /** \file | ||||
| * \ingroup DNA | * \ingroup DNA | ||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| #include "DNA_defs.h" | #include "DNA_defs.h" | ||||
| /* XXX(@campbellbarton): temp feature. */ | /* XXX(@campbellbarton): temp feature. */ | ||||
| #define DURIAN_CAMERA_SWITCH | #define DURIAN_CAMERA_SWITCH | ||||
| /* check for cyclic set-scene, | /** | ||||
| * libs can cause this case which is normally prevented, see (T#####) */ | * Check for cyclic set-scene. | ||||
| * Libraries can cause this case which is normally prevented, see (T42009). | |||||
| */ | |||||
| #define USE_SETSCENE_CHECK | #define USE_SETSCENE_CHECK | ||||
| #include "DNA_ID.h" | #include "DNA_ID.h" | ||||
| #include "DNA_color_types.h" /* color management */ | #include "DNA_color_types.h" /* color management */ | ||||
| #include "DNA_customdata_types.h" /* Scene's runtime custom-data masks. */ | #include "DNA_customdata_types.h" /* Scene's runtime custom-data masks. */ | ||||
| #include "DNA_layer_types.h" | #include "DNA_layer_types.h" | ||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| #include "DNA_vec_types.h" | #include "DNA_vec_types.h" | ||||
| ▲ Show 20 Lines • Show All 989 Lines • ▼ Show 20 Lines | typedef struct Sculpt { | ||||
| /* gravity factor for sculpting */ | /* gravity factor for sculpting */ | ||||
| float gravity_factor; | float gravity_factor; | ||||
| /* scale for constant detail size */ | /* scale for constant detail size */ | ||||
| /** Constant detail resolution (Blender unit / constant_detail). */ | /** Constant detail resolution (Blender unit / constant_detail). */ | ||||
| float constant_detail; | float constant_detail; | ||||
| float detail_percent; | float detail_percent; | ||||
| int automasking_cavity_blur_steps; | |||||
| float automasking_cavity_factor; | |||||
| char _pad[4]; | char _pad[4]; | ||||
| float automasking_start_normal_limit, automasking_start_normal_falloff; | |||||
| float automasking_view_normal_limit, automasking_view_normal_falloff; | |||||
| struct CurveMapping *automasking_cavity_curve; | |||||
| struct CurveMapping *automasking_cavity_curve_op; /* For use by operators */ | |||||
| struct Object *gravity_object; | struct Object *gravity_object; | ||||
| } Sculpt; | } Sculpt; | ||||
| typedef struct CurvesSculpt { | typedef struct CurvesSculpt { | ||||
| Paint paint; | Paint paint; | ||||
| } CurvesSculpt; | } CurvesSculpt; | ||||
| typedef struct UvSculpt { | typedef struct UvSculpt { | ||||
| ▲ Show 20 Lines • Show All 1,536 Lines • Show Last 20 Lines | |||||