From 72fd55fafe4b288f736cae0fc0bdb399dd965d38 Mon Sep 17 00:00:00 2001 From: Onestay42 Date: Thu, 13 Jun 2024 00:17:12 -0400 Subject: [PATCH] Add CtypeDraw for VOID / PVOD (#953) --- src/simulation/elements/PVOD.cpp | 1 + src/simulation/elements/VOID.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/simulation/elements/PVOD.cpp b/src/simulation/elements/PVOD.cpp index 213de466b..94b510604 100644 --- a/src/simulation/elements/PVOD.cpp +++ b/src/simulation/elements/PVOD.cpp @@ -42,6 +42,7 @@ void Element::Element_PVOD() LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; + CtypeDraw = &Element::basicCtypeDraw; Update = &update; Graphics = &graphics; diff --git a/src/simulation/elements/VOID.cpp b/src/simulation/elements/VOID.cpp index fc64670c5..7de795b34 100644 --- a/src/simulation/elements/VOID.cpp +++ b/src/simulation/elements/VOID.cpp @@ -39,4 +39,5 @@ void Element::Element_VOID() LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; + CtypeDraw = &Element::basicCtypeDraw; }