Skip to content

Commit 651f31c

Browse files
authored
Merge pull request #74 from mimaraka/develop
v2.0-beta1.0.2
2 parents c6f6341 + 7d61529 commit 651f31c

File tree

8 files changed

+239
-158
lines changed

8 files changed

+239
-158
lines changed

curve_editor/constants.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace curve_editor::global {
2626
inline constexpr auto PLUGIN_VERSION = mkaul::Version{
2727
mkaul::VersionNumber{2},
2828
mkaul::PreviewType{mkaul::PreviewType::Type::Beta},
29-
mkaul::VersionNumber{1, 0, 1}
29+
mkaul::VersionNumber{1, 0, 2}
3030
};
3131
inline constexpr auto PLUGIN_DEVELOPER = "mimaraka";
3232
inline constexpr auto PLUGIN_TRANSLATOR = "Deepdive";

curve_editor/handle_bezier.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ namespace curve_editor {
8888
void end_move() noexcept {
8989
tangent_locker_.unlock();
9090
length_locker_.unlock();
91+
snapper_.unsnap();
9192
}
9293

9394
template<class Archive>

curve_editor/message_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ namespace curve_editor {
416416
mode == EditMode::Normal
417417
and global::editor.editor_graph().is_copying_normal()
418418
and curve
419-
and curve->is_locked()
419+
and !curve->is_locked()
420420
) ? MenuItem::State::Null : MenuItem::State::Disabled,
421421
[curve_id, this]() {
422422
auto curve = global::id_manager.get_curve<NormalCurve>(curve_id);

0 commit comments

Comments
 (0)