Exemplo n.º 1
0
/* MapObjectPropsPanel::openObject
 * Populates the grid with properties for [object]
 *******************************************************************/
void MapObjectPropsPanel::openObject(MapObject* object)
{
	// Do open multiple objects
	vector<MapObject*> list;
	if (object) list.push_back(object);
	openObjects(list);
}
Exemplo n.º 2
0
void MOPGProperty::resetValue() {
	// Do nothing if no parent (and thus no object list)
	if (!parent || noupdate)
		return;

	// Read value from selection
	openObjects(parent->getObjects());
}