Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //BUG// ---------------- BUG REPORT - LOOK AT THIS CASCADED IF/ELSE BLOCK ----------------
- if (heightByCoordinate_RButton.IsChecked == true) //BUG// ............ CONDITION IS TRUE
- inputParams.heightType = HeightType.WaterDepth; //BUG// ............ call of this line (correct)
- else
- if (overGround_RButton.IsChecked == true)
- inputParams.heightType = HeightType.HeightOverGround_byCoordinate;
- else
- if (overGroundStatic_RButton.IsChecked == true)
- inputParams.heightType = HeightType.HeightOverGround_const;
- else
- throw new Exception("This line call is not allowed after TRUE conditions"); //BUG// .... CALL OF THIS "ELSE" LINE (bad, because it shouldn't be touched)
Add Comment
Please, Sign In to add comment