Skip to content

Commit

Permalink
Selection change slot is now a std::function. sigc++ slot creation to…
Browse files Browse the repository at this point in the history
…ok up almost 10% of map loading time, when setting up the ObservedSelectables in the FaceInstance class.
  • Loading branch information
codereader committed Apr 30, 2022
1 parent bd7c4f4 commit 278e229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/iselection.h
Expand Up @@ -28,7 +28,7 @@ class Matrix4;
class Quaternion;

typedef sigc::signal<void, const ISelectable&> SelectionChangedSignal;
typedef sigc::slot<void, const ISelectable&> SelectionChangedSlot;
typedef std::function<void(const ISelectable&)> SelectionChangedSlot;

class SelectionInfo;
class Face;
Expand Down

0 comments on commit 278e229

Please sign in to comment.