diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2019-11-02 23:15:56 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2019-11-02 23:15:56 +0000 |
| commit | 0175d30778b93a1b79e9dedc53f037e81de729b7 (patch) | |
| tree | c651f299480ba4374efa1436dd4ffc0a409fa3a2 /src/live_effects/parameter/satellitesarray.cpp | |
| parent | Allow forking on powermask (diff) | |
| download | inkscape-0175d30778b93a1b79e9dedc53f037e81de729b7.tar.gz inkscape-0175d30778b93a1b79e9dedc53f037e81de729b7.zip | |
Improve speed of LPE's updating widgets on release knots instead when value change
Diffstat (limited to 'src/live_effects/parameter/satellitesarray.cpp')
| -rw-r--r-- | src/live_effects/parameter/satellitesarray.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/live_effects/parameter/satellitesarray.cpp b/src/live_effects/parameter/satellitesarray.cpp index 311f1e0ce..c80271c4c 100644 --- a/src/live_effects/parameter/satellitesarray.cpp +++ b/src/live_effects/parameter/satellitesarray.cpp @@ -231,6 +231,11 @@ FilletChamferKnotHolderEntity::FilletChamferKnotHolderEntity( SatellitesArrayParam *p, size_t index) : _pparam(p), _index(index) {} +void FilletChamferKnotHolderEntity::knot_ungrabbed(Geom::Point const &p, Geom::Point const &origin, guint state) +{ + _pparam->param_effect->refresh_widgets = true; +} + void FilletChamferKnotHolderEntity::knot_set(Geom::Point const &p, Geom::Point const &/*origin*/, guint state) @@ -238,7 +243,6 @@ void FilletChamferKnotHolderEntity::knot_set(Geom::Point const &p, if (!_pparam->_last_pathvector_satellites) { return; } - _pparam->param_effect->upd_params = true; size_t total_satellites = _pparam->_last_pathvector_satellites->getTotalSatellites(); bool is_mirror = false; size_t index = _index; @@ -457,7 +461,6 @@ void FilletChamferKnotHolderEntity::knot_set_offset(Satellite satellite) if (!_pparam->_last_pathvector_satellites) { return; } - _pparam->param_effect->upd_params = true; size_t total_satellites = _pparam->_last_pathvector_satellites->getTotalSatellites(); bool is_mirror = false; size_t index = _index; |
