57 return !wm->file_saved;
63 static void rna_Main_filepath_get(
PointerRNA *
ptr,
char *value)
76 static void rna_Main_filepath_set(
PointerRNA *
ptr,
const char *value)
83 # define RNA_MAIN_LISTBASE_FUNCS_DEF(_listbase_name) \
84 static void rna_Main_##_listbase_name##_begin(CollectionPropertyIterator *iter, \
87 rna_iterator_listbase_begin(iter, &((Main *)ptr->data)->_listbase_name, NULL); \
90 RNA_MAIN_LISTBASE_FUNCS_DEF(actions)
91 RNA_MAIN_LISTBASE_FUNCS_DEF(armatures)
92 RNA_MAIN_LISTBASE_FUNCS_DEF(brushes)
93 RNA_MAIN_LISTBASE_FUNCS_DEF(cachefiles)
94 RNA_MAIN_LISTBASE_FUNCS_DEF(cameras)
95 RNA_MAIN_LISTBASE_FUNCS_DEF(collections)
96 RNA_MAIN_LISTBASE_FUNCS_DEF(
curves)
97 RNA_MAIN_LISTBASE_FUNCS_DEF(fonts)
98 RNA_MAIN_LISTBASE_FUNCS_DEF(gpencils)
99 RNA_MAIN_LISTBASE_FUNCS_DEF(hair_curves)
100 RNA_MAIN_LISTBASE_FUNCS_DEF(images)
101 RNA_MAIN_LISTBASE_FUNCS_DEF(lattices)
102 RNA_MAIN_LISTBASE_FUNCS_DEF(libraries)
103 RNA_MAIN_LISTBASE_FUNCS_DEF(lightprobes)
104 RNA_MAIN_LISTBASE_FUNCS_DEF(lights)
105 RNA_MAIN_LISTBASE_FUNCS_DEF(linestyles)
106 RNA_MAIN_LISTBASE_FUNCS_DEF(masks)
108 RNA_MAIN_LISTBASE_FUNCS_DEF(meshes)
109 RNA_MAIN_LISTBASE_FUNCS_DEF(metaballs)
110 RNA_MAIN_LISTBASE_FUNCS_DEF(movieclips)
111 RNA_MAIN_LISTBASE_FUNCS_DEF(nodetrees)
112 RNA_MAIN_LISTBASE_FUNCS_DEF(objects)
113 RNA_MAIN_LISTBASE_FUNCS_DEF(paintcurves)
114 RNA_MAIN_LISTBASE_FUNCS_DEF(palettes)
115 RNA_MAIN_LISTBASE_FUNCS_DEF(particles)
116 RNA_MAIN_LISTBASE_FUNCS_DEF(pointclouds)
117 RNA_MAIN_LISTBASE_FUNCS_DEF(scenes)
118 RNA_MAIN_LISTBASE_FUNCS_DEF(screens)
119 RNA_MAIN_LISTBASE_FUNCS_DEF(shapekeys)
120 # ifdef WITH_SIMULATION_DATABLOCK
121 RNA_MAIN_LISTBASE_FUNCS_DEF(simulations)
123 RNA_MAIN_LISTBASE_FUNCS_DEF(sounds)
124 RNA_MAIN_LISTBASE_FUNCS_DEF(speakers)
125 RNA_MAIN_LISTBASE_FUNCS_DEF(texts)
126 RNA_MAIN_LISTBASE_FUNCS_DEF(
textures)
127 RNA_MAIN_LISTBASE_FUNCS_DEF(volumes)
128 RNA_MAIN_LISTBASE_FUNCS_DEF(wm)
129 RNA_MAIN_LISTBASE_FUNCS_DEF(workspaces)
130 RNA_MAIN_LISTBASE_FUNCS_DEF(worlds)
132 # undef RNA_MAIN_LISTBASE_FUNCS_DEF
134 static void rna_Main_version_get(
PointerRNA *
ptr,
int *value)
147 ret.type = &RNA_Test;
178 "rna_Main_cameras_begin",
180 "Camera data-blocks",
184 "rna_Main_scenes_begin",
190 "rna_Main_objects_begin",
192 "Object data-blocks",
196 "rna_Main_materials_begin",
198 "Material data-blocks",
202 "rna_Main_nodetrees_begin",
204 "Node group data-blocks",
208 "rna_Main_meshes_begin",
214 "rna_Main_lights_begin",
220 "rna_Main_libraries_begin",
222 "Library data-blocks",
226 "rna_Main_screens_begin",
228 "Screen data-blocks",
234 "Window manager data-blocks",
238 "rna_Main_images_begin",
244 "rna_Main_lattices_begin",
246 "Lattice data-blocks",
250 "rna_Main_curves_begin",
256 "rna_Main_metaballs_begin",
258 "Metaball data-blocks",
262 "rna_Main_fonts_begin",
264 "Vector font data-blocks",
268 "rna_Main_textures_begin",
270 "Texture data-blocks",
274 "rna_Main_brushes_begin",
280 "rna_Main_worlds_begin",
286 "rna_Main_collections_begin",
288 "Collection data-blocks",
292 "rna_Main_shapekeys_begin",
294 "Shape Key data-blocks",
296 {
"texts",
"Text",
"rna_Main_texts_begin",
"Texts",
"Text data-blocks",
RNA_def_main_texts},
299 "rna_Main_speakers_begin",
301 "Speaker data-blocks",
305 "rna_Main_sounds_begin",
311 "rna_Main_armatures_begin",
313 "Armature data-blocks",
317 "rna_Main_actions_begin",
319 "Action data-blocks",
323 "rna_Main_particles_begin",
325 "Particle data-blocks",
329 "rna_Main_palettes_begin",
331 "Palette data-blocks",
335 "rna_Main_gpencils_begin",
337 "Grease Pencil data-blocks",
341 "rna_Main_movieclips_begin",
343 "Movie Clip data-blocks",
345 {
"masks",
"Mask",
"rna_Main_masks_begin",
"Masks",
"Masks data-blocks",
RNA_def_main_masks},
347 "FreestyleLineStyle",
348 "rna_Main_linestyles_begin",
350 "Line Style data-blocks",
354 "rna_Main_cachefiles_begin",
356 "Cache Files data-blocks",
360 "rna_Main_paintcurves_begin",
362 "Paint Curves data-blocks",
366 "rna_Main_workspaces_begin",
368 "Workspace data-blocks",
372 "rna_Main_lightprobes_begin",
374 "Light Probe data-blocks",
382 "rna_Main_hair_curves_begin",
384 "Hair curve data-blocks",
388 "rna_Main_pointclouds_begin",
390 "Point cloud data-blocks",
394 "rna_Main_volumes_begin",
396 "Volume data-blocks",
398 # ifdef WITH_SIMULATION_DATABLOCK
401 "rna_Main_simulations_begin",
403 "Simulation data-blocks",
404 RNA_def_main_simulations},
414 "Main data structure representing a .blend file and all its data-blocks");
420 prop,
"rna_Main_filepath_get",
"rna_Main_filepath_length",
"rna_Main_filepath_set");
428 prop,
"File Has Unsaved Changes",
"Have recent edits been saved to disk");
434 prop,
"File is Saved",
"Has the current session been saved to disk as a .blend file");
439 prop,
"Use Auto-Pack",
"Automatically pack all external data into .blend file");
448 "File format version the .blend file was saved with",
455 for (i = 0; lists[i].
name; i++) {
460 "rna_iterator_listbase_next",
461 "rna_iterator_listbase_end",
462 "rna_iterator_listbase_get",
470 func = lists[i].
func;
#define STRNCPY(dst, src)
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint * textures
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to curves
return(oflags[bm->toolflag_index].f &oflag) !=0
SyclQueue void void size_t num_bytes void
smooth(Type::VEC4, "color_mul") .smooth(Type gpFillTexture gpSceneDepthTexture materials[GPENCIL_MATERIAL_BUFFER_LEN]
void RNA_def_property_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
void RNA_define_verify_sdna(bool verify)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_collection_funcs(PropertyRNA *prop, const char *begin, const char *next, const char *end, const char *get, const char *length, const char *lookupint, const char *lookupstring, const char *assignint)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
void RNA_def_property_boolean_funcs(PropertyRNA *prop, const char *get, const char *set)
void RNA_def_property_string_maxlength(PropertyRNA *prop, int maxlength)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
PropertyRNA * RNA_def_int_vector(StructOrFunctionRNA *cont_, const char *identifier, int len, const int *default_value, int hardmin, int hardmax, const char *ui_name, const char *ui_description, int softmin, int softmax)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_pointer_funcs(PropertyRNA *prop, const char *get, const char *set, const char *type_fn, const char *poll)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_int_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_main_window_managers(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_curves(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_cameras(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_worlds(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_textures(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_lightprobes(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_movieclips(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_screens(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_images(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_volumes(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_node_groups(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_api_main(struct StructRNA *srna)
void RNA_def_main_meshes(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_hair_curves(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_pointclouds(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_libraries(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_paintcurves(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_texts(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_lights(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_gpencil(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_actions(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_palettes(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_particles(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_lattices(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_masks(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_cachefiles(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_fonts(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_metaballs(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_speakers(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_scenes(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_collections(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_materials(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_workspaces(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_sounds(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_armatures(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_linestyles(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_brushes(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_objects(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main(BlenderRNA *brna)
void() CollectionDefFunc(struct BlenderRNA *brna, struct PropertyRNA *cprop)
struct MainCollectionDef MainCollectionDef