Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CommunityBugFixCollection/CommunityBugFixCollection.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>CommunityBugFixCollection</PackageId>
<Title>Component Selector Additions</Title>
<Authors>Banane9; Nytra; art0007i</Authors>
<Authors>Banane9; Nytra; art0007i; LeCloutPanda</Authors>
<Version>0.7.0-beta</Version>
<Description>This MonkeyLoader mod for Resonite overhauls the Component Selector / Protoflux Node Selector to have a search, as well as favorites and recents categories.</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down
2 changes: 2 additions & 0 deletions CommunityBugFixCollection/Contributors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ internal static class Contributors

public static string[] Banane9 { get; } = ["Banane9"];

public static string[] LeCloutPanda { get; } = ["LeCloutPanda"];

public static string[] Nytra { get; } = ["Nytra"];
}
}
38 changes: 38 additions & 0 deletions CommunityBugFixCollection/SmoothDraggables.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
using FrooxEngine;
using HarmonyLib;
using MonkeyLoader.Resonite;
using System;
using System.Collections.Generic;
using System.Text;

// Originally released under MIT by LeCloutPanda here:
// https://github.com/LeCloutPanda/SoNoHeadCrash

namespace CommunityBugFixCollection
{
[HarmonyPatchCategory(nameof(SmoothDraggables))]
[HarmonyPatch(typeof(Draggable), nameof(Draggable.OnAwake))]
internal sealed class SmoothDraggables : ResoniteMonkey<SmoothDraggables>
{
public override IEnumerable<string> Authors => base.Authors;

public override bool CanBeDisabled => true;

public static void Postfix(Draggable __instance)
{
if (!Enabled || __instance.LocalUser.HeadDevice != HeadOutputDevice.Headless || !__instance.LocalUser.IsHost)
return;

__instance.RunInUpdates(3, () =>
{
if (__instance.FilterWorldElement() is null)
return;

__instance.DontDrive.Value = true;

Logger.Info(() => $"Set DontDrive to true for Draggable:");
Logger.Info(() => __instance.ParentHierarchyToString());
});
}
}
}
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,13 @@ just disable them in the settings in the meantime.
* URLs to text files or Resonite Packages failing to import instead of appearing as a hyperlink (https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/785)
* References in multiple duplicated or transferred-between-worlds items breaking (https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/984)
* UserInspectors not listing existing users in the session for non-host users (https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/1964)
* Animators updating all associated fields every frame while enabled but not playing (https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/3480)
* Animators updating all associated fields every frame while enabled but not playing (https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/3480)


## Workarounds

The issues that have workarounds in this mod will be linked in the following list.
If any of them have been closed and not removed from the mod,
just disable them in the settings in the meantime.

* Sliders and Joints snapping in sessions hosted by a headless (https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/399)
Loading