mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-17 17:25:27 +00:00
feat(ugc): the color variation settings apply to LU Toolbox in Blender too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -197,6 +197,10 @@ TEST(UgcToolboxProtocol, FramesOneMessagePerLine) {
|
||||
const auto request = UgcToolboxProtocol::MakeRequest(7, "/w/7.lxfml", "/w/7.nif", { 0, 2 });
|
||||
EXPECT_EQ(request["cmd"], "make");
|
||||
EXPECT_EQ(request["lods"], nlohmann::json::array({ 0, 2 }));
|
||||
EXPECT_EQ(request["colorVariation"]["mode"], "toolbox");
|
||||
const auto live = UgcToolboxProtocol::MakeRequest(8, "/w/8.lxfml", "/w/8.nif", { 0 }, { "live", 5.0f, 1234 });
|
||||
EXPECT_EQ(live["colorVariation"]["mode"], "live");
|
||||
EXPECT_EQ(live["colorVariation"]["seed"], 1234u);
|
||||
|
||||
// Lines arrive in pieces and several at once
|
||||
UgcToolboxProtocol::LineReader reader;
|
||||
|
||||
Reference in New Issue
Block a user