[Shader] Unexpected behavior with SasUiMin/Max

Please report bugs in this group. We will maybe populate a list of known bugs with a possibly modified description at a later time.

[Shader] Unexpected behavior with SasUiMin/Max

Postby TVM Cracklings » 04 Dec 2015, 08:04

Accidentally hit this bug.

Reproduction steps:
  1. type in
    Code: Select all
    int _1<float SasUiMin = 1; float SasUiMax = 4;> = 1;

    somewhere reasonable. Press Update.
  2. A parameter called [Parameters]/..._1 should appear in properties GUI.
  3. Now drag the bar.

This seems to be caused by a type mismatch between variable _1 and SasUiMax. It's probably not a great deal, should be prevented anyway, but it would most likely be better to make it an error instead of an undefined behaviour.

Regards
-C
TVM Cracklings
 
Posts: 32
Joined: 30 Sep 2015, 10:49

Return to Bug Reports