Skip to content

Commit

Permalink
AutoMapper: Fixed object groups always getting added
Browse files Browse the repository at this point in the history
Object groups as output rules were always getting added, even if no
rule adding objects was applied at all.

Also includes some general cleanup of the code.
  • Loading branch information
bjorn committed Apr 3, 2017
1 parent a7ebaaf commit 076382c
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 113 deletions.
2 changes: 1 addition & 1 deletion src/libtiled/map.h
Expand Up @@ -374,7 +374,7 @@ class TILEDSHARED_EXPORT Map : public Object
void initializeObjectIds(ObjectGroup &objectGroup);

private:
friend class GroupLayer; // so it cal call adoptLayer
friend class GroupLayer; // so it can call adoptLayer

void adoptLayer(Layer *layer);

Expand Down

0 comments on commit 076382c

Please sign in to comment.