Running again. Next step: making connections work again!
This commit is contained in:
@@ -16,14 +16,14 @@
|
||||
#include <memory>
|
||||
|
||||
namespace VISEQ::INTERACTION{
|
||||
class ScaleHandle : public BASE::Draggable, public GraphItem{
|
||||
class ScaleHandle : public BASE::Draggable, public GraphItem, public std::enable_shared_from_this<ScaleHandle>{
|
||||
public:
|
||||
ScaleHandle(){}
|
||||
|
||||
float radius = 6;
|
||||
|
||||
std::shared_ptr<ScaleHandle> getPtr(){
|
||||
return std::static_pointer_cast<ScaleHandle>(shared_from_this());
|
||||
return shared_from_this();
|
||||
}
|
||||
|
||||
virtual GRAPH::GraphItemType getType() override {
|
||||
|
||||
Reference in New Issue
Block a user