Prep_For_Add now checks for the hdimage.

This commit is contained in:
Justin Marshall
2020-07-02 18:02:36 -07:00
parent 61a0c58d3e
commit a1687554cc
+3 -1
View File
@@ -2710,7 +2710,9 @@ void TemplateTypeClass::Prep_For_Add(void)
if (index >= TEMPLATE_BRIDGE_1A)
break;
// jmarshall - stupid hack
if (As_Reference(index).Get_Image_Data()) {
// jmarshall: get hdimage data.
if (As_Reference(index).Get_HDImage_Data()) {
Map.Add_To_List(&As_Reference(index));
}
}