Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2022-01-12 20:36:37 +0300
committerJulian Eisel <julian@blender.org>2022-01-12 20:37:53 +0300
commita0dcd0bf2c6952595c871197757bf9878c0c1914 (patch)
tree3975c998ddb6ab9406ffd68c03e35ff67e324b36
parenta72a9e099c7a7d2bc74830c42d37dd3a46d26f45 (diff)
Fix warnings after bab47b60cb69
It's not really clear how this part of the defaults code should be used, I think this is fine now and solves the warnings.
-rw-r--r--source/blender/makesdna/intern/dna_defaults.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/makesdna/intern/dna_defaults.c b/source/blender/makesdna/intern/dna_defaults.c
index cc060e1241c..5bc5de7a20b 100644
--- a/source/blender/makesdna/intern/dna_defaults.c
+++ b/source/blender/makesdna/intern/dna_defaults.c
@@ -212,7 +212,6 @@ SDNA_DEFAULT_DECL_STRUCT(MetaBall);
SDNA_DEFAULT_DECL_STRUCT(MovieClip);
SDNA_DEFAULT_DECL_STRUCT(MovieClipUser);
SDNA_DEFAULT_DECL_STRUCT(MovieClipScopes);
-SDNA_DEFAULT_DECL_STRUCT(MovieTrackingMarker);
/* DNA_object_defaults.h */
SDNA_DEFAULT_DECL_STRUCT(Object);
@@ -231,7 +230,6 @@ SDNA_DEFAULT_DECL_STRUCT(ToolSettings);
SDNA_DEFAULT_DECL_STRUCT(Simulation);
/* DNA_space_defaults.h */
-SDNA_DEFAULT_DECL_STRUCT(MaskSpaceInfo);
SDNA_DEFAULT_DECL_STRUCT(SpaceClip);
/* DNA_speaker_defaults.h */
@@ -418,14 +416,14 @@ const void *DNA_default_table[SDNA_TYPE_MAX] = {
/* DNA_space_defaults.h */
SDNA_DEFAULT_DECL(SpaceClip),
SDNA_DEFAULT_DECL_EX(MaskSpaceInfo, SpaceClip.mask_info),
- SDNA_DEFAULT_DECL_EX(MovieClipUser, SpaceClip.user),
- SDNA_DEFAULT_DECL_EX(MovieClipScopes, SpaceClip.scopes),
/* DNA_meta_defaults.h */
SDNA_DEFAULT_DECL(MetaBall),
/* DNA_movieclip_defaults.h */
SDNA_DEFAULT_DECL(MovieClip),
+ SDNA_DEFAULT_DECL(MovieClipUser),
+ SDNA_DEFAULT_DECL(MovieClipScopes),
SDNA_DEFAULT_DECL_EX(MovieTrackingMarker, MovieClipScopes.undist_marker),
/* DNA_object_defaults.h */