This repository was archived by the owner on Sep 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ add_custom_command(TARGET ${PROJECT_NAME} PRE_BUILD
4242
4343
4444target_link_libraries (${PROJECT_NAME} PUBLIC
45+ lua
46+ love_3p_luasocket
4547 OFS_lib
4648)
4749
@@ -51,9 +53,6 @@ if(WIN32)
5153 COMMAND ${CMAKE_COMMAND} -E copy
5254 "${CMAKE_SOURCE_DIR} /lib/libmpv/mpv-1.dll" "$<TARGET_FILE_DIR :${PROJECT_NAME} >/mpv-1.dll"
5355 DEPENDS "$<TARGET_FILE_DIR :${PROJECT_NAME} >/mpv-1.dll" )
54- target_link_libraries (${PROJECT_NAME} PRIVATE lua love_3p_luasocket )
55- else ()
56- target_link_libraries (${PROJECT_NAME} PRIVATE lua love_3p_luasocket )
5756endif ()
5857
5958target_compile_definitions (${PROJECT_NAME} PUBLIC
Original file line number Diff line number Diff line change @@ -87,6 +87,10 @@ function spline_smooth()
8787 local script = ofs.Script(ofs.ActiveIdx())
8888 local actionCount = #script.actions
8989
90+ if not ofs.HasSelection(script) then
91+ return
92+ end
93+
9094 local smoothedActions = {}
9195
9296 for idx, action in ipairs(script.actions) do
Original file line number Diff line number Diff line change @@ -123,5 +123,6 @@ class OFS_LuaExtensions
123123 {
124124 OFS_REFLECT (Extensions, ar);
125125 OFS_REFLECT (DevMode, ar);
126+ OFS_REFLECT (ShowLogs, ar);
126127 }
127128};
You can’t perform that action at this time.
0 commit comments