undo previous experiment

This commit is contained in:
Seth Alves 2015-06-26 18:43:56 -07:00
parent 0739c46249
commit 9f6ec4120d

View file

@ -1432,9 +1432,10 @@ bool EntityItem::clearActions(EntitySimulation* simulation) {
}
void EntityItem::setActionData(QByteArray actionData) {
if (_actionData == actionData) {
return;
}
// it would be nice to take this shortcut, but a previous add may have failed
// if (_actionData == actionData) {
// return;
// }
_actionData = actionData;
if (actionData.size() == 0) {
return;