1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 14:53:30 +08:00

UXAssist v1.4.2

This commit is contained in:
2025-09-30 13:02:39 +08:00
parent 7c1e88f86d
commit 49226001be
4 changed files with 8 additions and 4 deletions

View File

@@ -3,6 +3,8 @@
## Changlog ## Changlog
* 1.4.2
* Fixed a crash issue.
* 1.4.1 * 1.4.1
* Fixed a compatible issue with latest game patch. * Fixed a compatible issue with latest game patch.
* 1.4.0 * 1.4.0
@@ -338,6 +340,8 @@
## 更新日志 ## 更新日志
* 1.4.2
* 修复了一个崩溃问题
* 1.4.1 * 1.4.1
* 修复了与最新游戏补丁的兼容性问题 * 修复了与最新游戏补丁的兼容性问题
* 1.4.0 * 1.4.0

View File

@@ -1509,13 +1509,13 @@ public class FactoryPatch : PatchImpl<FactoryPatch>
return finalCount; return finalCount;
} }
private static int PlanetAuxDataSnapDotsNonAllocNotAligned(PlanetAuxData aux, Vector3 begin, Vector3 end, Vector2 interval, float yaw, float gap, Vector3[] snaps) private static int PlanetAuxDataSnapDotsNonAllocNotAligned(PlanetAuxData aux, Vector3 begin, Vector3 end, Vector2 interval, float height, float yaw, float gap, Vector3[] snaps)
{ {
var num = 0; var num = 0;
var magnitude = begin.magnitude; var magnitude = begin.magnitude;
if (aux.activeGrid != null) if (aux.activeGrid != null)
{ {
num = PlanetGridSnapDotsNonAllocNotAligned(aux.activeGrid, begin, end, interval, yaw, aux.planet.realRadius, gap, snaps); num = PlanetGridSnapDotsNonAllocNotAligned(aux.activeGrid, begin, end, interval, yaw, aux.planet.realRadius + height, gap, snaps);
for (var i = 0; i < num; i++) for (var i = 0; i < num; i++)
{ {
snaps[i] *= magnitude; snaps[i] *= magnitude;

View File

@@ -4,7 +4,7 @@
<TargetFramework>net472</TargetFramework> <TargetFramework>net472</TargetFramework>
<BepInExPluginGuid>org.soardev.uxassist</BepInExPluginGuid> <BepInExPluginGuid>org.soardev.uxassist</BepInExPluginGuid>
<Description>DSP MOD - UXAssist</Description> <Description>DSP MOD - UXAssist</Description>
<Version>1.4.1</Version> <Version>1.4.2</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion> <LangVersion>latest</LangVersion>
<PackageId>UXAssist</PackageId> <PackageId>UXAssist</PackageId>

View File

@@ -1,6 +1,6 @@
{ {
"name": "UXAssist", "name": "UXAssist",
"version_number": "1.4.1", "version_number": "1.4.2",
"website_url": "https://github.com/soarqin/DSP_Mods/tree/master/UXAssist", "website_url": "https://github.com/soarqin/DSP_Mods/tree/master/UXAssist",
"description": "Some functions and patches for better user experience / 一些提升用户体验的功能和补丁", "description": "Some functions and patches for better user experience / 一些提升用户体验的功能和补丁",
"dependencies": [ "dependencies": [