summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2e0af6a)
If an entity already has a target field, chances are that the targeted
entity still exists and the mapper will just get a naming collision.
{
ConnectEntities connector(e1, e2, index);
const char* value = e2->getKeyValue("targetname");
{
ConnectEntities connector(e1, e2, index);
const char* value = e2->getKeyValue("targetname");
- if(string_empty(value))
- {
- value = e1->getKeyValue(connector.keyname());
- }
if(!string_empty(value))
{
connector.connect(value);
if(!string_empty(value))
{
connector.connect(value);