Fixed issue with Murphy plugin using wronge type for certain Properties.
authorKevron Rees <kevron.m.rees@intel.com>
Fri, 8 Aug 2014 21:52:10 +0000 (14:52 -0700)
committerKevron Rees <kevron.m.rees@intel.com>
Fri, 8 Aug 2014 21:52:10 +0000 (14:52 -0700)
commitafad27d4f1b0d764ddb4c9d63a4227e03311066b
treeb7eb887e832d7f5b8389769dfdb7f30d15a0f38b
parent9ba6b54dd1339651006692f704bc53a6b4f92030
Fixed issue with Murphy plugin using wronge type for certain Properties.

Murphy tries to create a basic type even if the type is already registered.
This wouldn't typically be a problem, except that certain types are enums
which murphy doesn't know about.

The solution is to use VehicleProperty::getPropertyTypeForPropertyName if the
property has already been registered by another plugin or by AMB core itself.
plugins/murphyplugin/murphysource.cpp