1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Merge pull request #46877 from W4RH4WK/always-dynamically-allocate-property-table

Always dynamically allocate PropertyTable
This commit is contained in:
Rémi Verschelde
2021-04-07 11:25:38 +02:00
committed by GitHub
3 changed files with 7 additions and 1 deletions

View File

@@ -148,6 +148,11 @@ std::string PeekPropertyName(const Element &element) {
PropertyTable::PropertyTable() {
}
// ------------------------------------------------------------------------------------------------
PropertyTable::PropertyTable(const PropertyTable *templateProps) :
templateProps(templateProps), element() {
}
// ------------------------------------------------------------------------------------------------
PropertyTable::PropertyTable(const ElementPtr element, const PropertyTable *templateProps) :
templateProps(templateProps), element(element) {