Commit a21b088d authored by claes's avatar claes

GeToggleDig::action fix, gdh_SetObjectInfo should be Get

parent 5684b3a7
/* /*
* Proview $Id: ge_dyn.cpp,v 1.42 2006-03-31 14:35:22 claes Exp $ * Proview $Id: ge_dyn.cpp,v 1.43 2006-04-25 13:06:40 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -8150,7 +8150,7 @@ int GeToggleDig::action( grow_tObject object, glow_tEvent event) ...@@ -8150,7 +8150,7 @@ int GeToggleDig::action( grow_tObject object, glow_tEvent event)
db = dyn->parse_attr_name( attribute, parsed_name, &inverted, &attr_type, &attr_size); db = dyn->parse_attr_name( attribute, parsed_name, &inverted, &attr_type, &attr_size);
switch ( db) { switch ( db) {
case graph_eDatabase_Gdh: case graph_eDatabase_Gdh:
sts = gdh_SetObjectInfo( parsed_name, &value, sizeof(value)); sts = gdh_GetObjectInfo( parsed_name, &value, sizeof(value));
break; break;
case graph_eDatabase_Ccm: case graph_eDatabase_Ccm:
sts = dyn->graph->ccm_get_variable( parsed_name, attr_type, &value); sts = dyn->graph->ccm_get_variable( parsed_name, attr_type, &value);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment