Skip to content
Permalink
Browse files

Fixed changing properties of multiple objects

Due to a duplicated variable (a leftover in MapDocument), property
changes were only applied to one object, rather than all selected
objects.
  • Loading branch information...
bjorn committed Jan 23, 2017
1 parent fd2796b commit 66bdcee0d3686d63e7fb861bbe6809cfd65f617c
Showing with 1 addition and 2 deletions.
  1. +1 −1 src/libtiled/object.h
  2. +0 −1 src/tiled/mapdocument.h
@@ -120,7 +120,7 @@ class TILEDSHARED_EXPORT Object
{ mProperties.remove(name); }

private:
TypeId mTypeId;
const TypeId mTypeId;
Properties mProperties;
};

@@ -324,7 +324,6 @@ private slots:
LayerModel *mLayerModel;
QRegion mSelectedArea;
QList<MapObject*> mSelectedObjects;
Object *mCurrentObject; /**< Current properties object. */
MapRenderer *mRenderer;
int mCurrentLayerIndex;
MapObjectModel *mMapObjectModel;

0 comments on commit 66bdcee

Please sign in to comment.
You can’t perform that action at this time.