Crashes when create/update HTG grid with inconsistent descriptor and maximum level
@demarle @yufeimi Ubuntu Linux at 32321d09
To reproduce the problem:
- Create a
source->Data Objects->Hyper Tree Grid
- Set
Maximum Level
to 3 andDescriptor
to "R" OR SetMaximum level
to 4 andDescriptor
to "R|........"
Guess the reason is that when it hits an "R" that is not yet the maximum level it will go further to search for whether to split the derived cells. Undefined behavior happens when the string is not long enough.