From 05b5930b292041720a277c6c0184eb7401de7218 Mon Sep 17 00:00:00 2001 From: ihmc3jn09hk Date: Tue, 16 Oct 2018 00:25:44 +0800 Subject: [PATCH] Amended the "Key" for the database ReadField Amended the key "flags" -> "flag". The field key("flags") was not matching the key("flag") in the BlendDNA. It was annoying during debug mode since the exception prompt for the mismatching and. --- code/BlenderScene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/BlenderScene.cpp b/code/BlenderScene.cpp index ad2d6fbba..4fc353b15 100644 --- a/code/BlenderScene.cpp +++ b/code/BlenderScene.cpp @@ -203,7 +203,7 @@ template <> void Structure :: Convert ( int temp = 0; ReadField(temp,"type",db); dest.type = static_cast(temp); - ReadField(dest.flags,"flags",db); + ReadField(dest.flags,"flag",db); ReadField(dest.colormodel,"colormodel",db); ReadField(dest.totex,"totex",db); ReadField(dest.r,"r",db);