]> gerrit.simantics Code Review - simantics/sysdyn.git/commit
Fixed Stock initialization with single number fill(number, size) to use dynamic Enume...
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 15 Feb 2013 14:59:51 +0000 (14:59 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 15 Feb 2013 14:59:51 +0000 (14:59 +0000)
commitf2877c3432aea0762de1e038f28cb785e708667d
treef141054c10c0b1ce87817ef2aef7c86c7cbbe952
parent3e9ef721721b4fdb17108394fa51d05c6ad2c765
Fixed Stock initialization with single number fill(number, size) to use dynamic EnumerationName.size instead of getting the size from the number of indexes defined to enumeration. This way it works also with overridden enumerations (fixes #4073)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26786 ac1ea38d-2e2b-0410-8846-a27921b304fc
org.simantics.sysdyn/src/org/simantics/sysdyn/representation/expressions/StockExpression.java