Răsfoiți Sursa

Fix inherited properties in debugger

Michael Ragazzon 6 ani în urmă
părinte
comite
05ca18849f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Source/Debugger/ElementInfo.cpp

+ 1 - 1
Source/Debugger/ElementInfo.cpp

@@ -665,7 +665,7 @@ void ElementInfo::BuildElementPropertiesRML(Core::String& property_rml, Core::El
 		const Core::Property* prop = &it.GetProperty();
 
 		// Check that this property isn't overridden or just not inherited.
-		if (primary_element->GetLocalProperty(property_id) != prop)
+		if (primary_element->GetProperty(property_id) != prop)
 			continue;
 
 		property_list.push_back(NamedProperty{ property_name, prop });