Permalink
Browse files

Validator Fix

This fixes issue #418 where the validators for a field are not firing in most cases.
  • Loading branch information...
greenfire27 committed Jan 30, 2019
1 parent 5527317 commit 28806e6ebd620f116153a8cb8776bf30338465dd
Showing with 0 additions and 4 deletions.
  1. +0 −4 engine/source/sim/simObject.cc
@@ -541,10 +541,6 @@ void SimObject::setDataField(StringTableEntry slotName, const char *array, const

if( (*fld->setDataFn)( this, bufferSecure ) )
Con::setData(fld->type, (void *) (((const char *)this) + fld->offset), array1, 1, &value, fld->table);

onStaticModified( slotName, value );

return;
}

if(fld->validator)

0 comments on commit 28806e6

Please sign in to comment.