Commit b66e7642 authored by Claes Sjofors's avatar Claes Sjofors

Xtt and web Ge access fix for hostobject dynamic

parent 2e107bd5
...@@ -120,6 +120,10 @@ public class Graph implements GraphIfc, GrowApplIfc { ...@@ -120,6 +120,10 @@ public class Graph implements GraphIfc, GrowApplIfc {
Dyn old_dyn = dyn; Dyn old_dyn = dyn;
dyn = new Dyn( nodeclass_dyn); dyn = new Dyn( nodeclass_dyn);
dyn.merge( old_dyn); dyn.merge( old_dyn);
if ( old_dyn.cycle != Glow.eCycle_Inherit)
dyn.cycle = old_dyn.cycle;
if ( !(old_dyn.action_type1 == Dyn.mActionType1_Inherit && old_dyn.action_type2 == 0))
dyn.access = old_dyn.access;
object.setUserData( dyn); object.setUserData( dyn);
dyn.setTotal(object); dyn.setTotal(object);
} }
......
...@@ -3613,6 +3613,10 @@ static int graph_trace_connect_bc( grow_tObject object, ...@@ -3613,6 +3613,10 @@ static int graph_trace_connect_bc( grow_tObject object,
dyn->set_hostobject( hostobject); dyn->set_hostobject( hostobject);
#endif #endif
dyn->merge( *old_dyn); dyn->merge( *old_dyn);
if ( old_dyn->cycle != glow_eCycle_Inherit)
dyn->cycle = old_dyn->cycle;
if ( !(old_dyn->action_type1 == ge_mActionType1_Inherit && old_dyn->action_type2 == 0))
dyn->access = old_dyn->access;
grow_SetUserData( object, (void *)dyn); grow_SetUserData( object, (void *)dyn);
delete old_dyn; delete old_dyn;
......
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