Skip to content

Commit

Permalink
fix RIDER-92598
Browse files Browse the repository at this point in the history
  • Loading branch information
krasnotsvetov committed May 1, 2023
1 parent 6dfacf1 commit bc7b3cc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using JetBrains.Collections.Viewable;
using JetBrains.DocumentManagers;
using JetBrains.Lifetimes;
using JetBrains.Metadata.Reader.API;
Expand Down Expand Up @@ -121,7 +122,7 @@ public class UnityShaderPsiModuleProviderFilter : IProjectPsiModuleProviderFilte
public Tuple<IProjectPsiModuleHandler, IPsiModuleDecorator> OverrideHandler(Lifetime lifetime, IProject project,
IProjectPsiModuleHandler handler)
{
if ( handler.PrimaryModule != null && project.GetComponent<UnityReferencesTracker>().IsUnityProject(project))
if (handler.PrimaryModule != null && project.GetComponent<UnitySolutionTracker>().IsUnityProject.HasTrueValue())
{
var module = new UnityShaderModule(project.GetSolution(), project.Name, handler.PrimaryModule.TargetFrameworkId);
var newHandlerAndDecorator = new UnityShaderModuleHandlerAndDecorator(module, handler);
Expand Down

0 comments on commit bc7b3cc

Please sign in to comment.