Simantics/Model.allModels returns also non-model results
|Assignee:||Tuukka Lehtonen||% Done:|
|Category:||SCL||Spent time:||0.50 hour|
|Release notes:||Simantics/Model.allModels function now only returns results that are instances of SIMU.Model.|
|Velocity based estimate||-|
|Release||Simantics 1.18.1||Release relationship||Auto|
The allModels function currently returns anything as [Model] that the currentProject resource consists of.
This is wrong, as the name of the function implies that it returns only SIMU.Model instances. Shall be fixed to actually do so.
Fixed Simantics/Model.allModels to return only SIMU.Model instances as results.