mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-13 20:36:19 -05:00
Support 'mirror' connection editing. Can be toggled off via checkbox
This commit is contained in:
@@ -39,7 +39,8 @@ Map* Project::loadMap(QString map_name) {
|
||||
Map *map;
|
||||
if (map_cache->contains(map_name)) {
|
||||
map = map_cache->value(map_name);
|
||||
if (map->hasUnsavedChanges()) {
|
||||
// TODO: uncomment when undo/redo history is fully implemented for all actions.
|
||||
if (true/*map->hasUnsavedChanges()*/) {
|
||||
return map;
|
||||
}
|
||||
} else {
|
||||
@@ -1260,7 +1261,6 @@ void Project::loadObjectPixmaps(QList<Event*> objects) {
|
||||
}
|
||||
|
||||
if (event_type == "object") {
|
||||
|
||||
int sprite_id = constants.value(object->get("sprite"));
|
||||
|
||||
QString info_label = pointers.value(sprite_id).replace("&", "");
|
||||
|
||||
Reference in New Issue
Block a user