Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Initializing a missing member to zero (#4271)

justburnere906ef156e35
diff --git a/toonz/sources/include/tproperty.h b/toonz/sources/include/tproperty.h
index d317a612e..022976110 100644
--- a/toonz/sources/include/tproperty.h
+++ b/toonz/sources/include/tproperty.h
@@ -68,7 +68,7 @@ public:
class TypeError {};
class RangeError {};
- TProperty(std::string name) : m_name(name) {
+ TProperty(std::string name) : m_name(name), m_visible(true) {
m_qstringName = QString::fromStdString(name);
}