Crashes when create/update HTG grid with inconsistent descriptor and maximum level
To reproduce the problem:
- Create a
source->Data Objects->Hyper Tree Grid
Maximum Levelto 3 and
Descriptorto "R" OR Set
Maximum levelto 4 and
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.