iut-ibk / DynaMind-ToolBox

DynaMind-ToolBox
www.dance4water.org
GNU General Public License v2.0
9 stars 6 forks source link

Attribute Calculator problems with linked elements #212

Closed christianurich closed 11 years ago

christianurich commented 11 years ago

Following Simulation https://gist.github.com/christianurich/04cf194b59bcceb46cd5 screen shot 2013-08-26 at 11 00 30 am

I link the cityblock with the superblock. So in the Attribute calculator I should have access to the attributes of the linked elements. e.g. city block-> superblock->year

Works just in some cases. But e.g. not when I use spatial linking.

working example

screen shot 2013-08-26 at 11 05 25 am

not working. CITYBLOCK should be extendable

screen shot 2013-08-26 at 11 05 44 am

zacharias2k commented 11 years ago

fix: https://github.com/iut-ibk/DynaMind/commit/c84fc89c39c97e14f48f54e5d251903519d921d7 the separate handling of link attributes and non-copying of the type caused that ugly bug.

ps: i also added attribute types in the view stream dialog, gives us more insight in the stream https://github.com/iut-ibk/DynaMind-Gui/commit/0909918de18d586347abc20510496b511fc0e537

christianurich commented 11 years ago

cool thanks

zacharias2k commented 11 years ago

btw addAttribute does not define any type, that's why there is a lot of "no type" in the list. we will improve that later when it comes to view-changes/discussion etc.

christianurich commented 11 years ago

yeah it is not mandatory yet to define the type see https://github.com/iut-ibk/DynaMind-ToolBox/issues/113