Skip to content

Commit

Permalink
Merge pull request #628 from anatawa12/vrc-test-marker
Browse files Browse the repository at this point in the history
fix: warning with VRCTestMarker
  • Loading branch information
anatawa12 authored Oct 20, 2023
2 parents c2272e5 + 4cba1dd commit 919e5be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-PRERELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog].
### Removed

### Fixed
- warning about VRCTestMarker when Build & Test `#628`

### Security

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog].
### Removed

### Fixed
- warning about VRCTestMarker when Build & Test `#628`

### Security

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using UnityEngine.Rendering;
using VRC.Core;
using VRC.Dynamics;
using VRC.SDK3;
using VRC.SDK3.Avatars.Components;
using VRC.SDK3.Dynamics.Contact.Components;
using VRC.SDK3.Dynamics.PhysBone.Components;
Expand Down Expand Up @@ -456,6 +457,7 @@ void ConstraintParser<TConstraint>(ComponentDependencyCollector collector, Compo
{
// to avoid unexpected deletion
deps.EntrypointComponent = true;
deps.AddAlwaysDependency(component.GetComponent<VRCTestMarker>());
deps.AddAlwaysDependency(component.GetComponent<PipelineManager>());
});
AddParserWithExtends<VRC_AvatarDescriptor, VRCAvatarDescriptor>((collector, deps, component) =>
Expand Down Expand Up @@ -490,6 +492,7 @@ void AddCollider(VRCAvatarDescriptor.ColliderConfig collider)
}
}
});
AddEntryPointParser<VRCTestMarker>();
AddEntryPointParser<PipelineManager>();
#pragma warning disable CS0618
AddEntryPointParser<PipelineSaver>();
Expand Down

0 comments on commit 919e5be

Please sign in to comment.