mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-26 14:42:49 +00:00
feat(dashboard): pick and compare the processor
Make again gets a Made by picker, /api/ugc/options lists the processor choices and default, the settings page has the toolbox_* settings, and /reprocessproperty takes native or toolbox-blender. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -497,7 +497,7 @@ void SlashCommandHandler::Startup() {
|
||||
|
||||
Command ReprocessPropertyCommand{
|
||||
.help = "Make this property's models again and reload it",
|
||||
.info = "The UGC server makes every model placed on the property you are on again, with the current UGC settings or the processing options given (in any order: embree, hiprt or embree-gpu; off or oidn). Once they are made, everyone on the property is sent back into it, so their game loads the new meshes",
|
||||
.info = "The UGC server makes every model placed on the property you are on again, with the current UGC settings or the processing options given (in any order: embree, hiprt or embree-gpu; off or oidn; native or toolbox-blender). Once they are made, everyone on the property is sent back into it, so their game loads the new meshes",
|
||||
.aliases = { "reprocessproperty", "reloadpropertymodels" },
|
||||
.handle = DEVGMCommands::ReprocessProperty,
|
||||
.requiredLevel = eGameMasterLevel::DEVELOPER
|
||||
|
||||
@@ -1990,10 +1990,10 @@ namespace DEVGMCommands {
|
||||
ChatPackets::SendSystemMessage(sysAddr, u"You aren't on a property.");
|
||||
return;
|
||||
}
|
||||
// Optional processing options for this make: ray backend and denoising, in any order
|
||||
// Optional processing options for this make: ray backend, denoising and processor, in any order
|
||||
UgcProcessOptions::Choice choice;
|
||||
if (!UgcProcessOptions::Parse(args, choice)) {
|
||||
ChatPackets::SendSystemMessage(sysAddr, u"Usage: /reprocessproperty [embree|hiprt|embree-gpu] [off|oidn] (left out: the UGC settings')");
|
||||
ChatPackets::SendSystemMessage(sysAddr, u"Usage: /reprocessproperty [embree|hiprt|embree-gpu] [off|oidn] [native|toolbox-blender] (left out: the UGC settings')");
|
||||
return;
|
||||
}
|
||||
const auto options = UgcProcessOptions::ToString(choice);
|
||||
|
||||
Reference in New Issue
Block a user