/* 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);
}
示例#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());
}