mirror of
				https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
				synced 2024-08-15 00:43:45 +00:00 
			
		
		
		
	Compare commits
	
		
			2 commits
		
	
	
		
			1a66bae865
			...
			b2c6838cb1
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
							 | 
						b2c6838cb1 | ||
| 
							 | 
						75f3387412 | 
					 2 changed files with 3 additions and 0 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -13,6 +13,9 @@ namespace Rimworld_Animations
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public override void TransformOffset(PawnRenderNode node, PawnDrawParms parms, ref Vector3 offset, ref Vector3 pivot)
 | 
					        public override void TransformOffset(PawnRenderNode node, PawnDrawParms parms, ref Vector3 offset, ref Vector3 pivot)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 | 
					            if (parms.Portrait)
 | 
				
			||||||
 | 
					                return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (node.AnimationWorker is AnimationWorker_KeyframesExtended
 | 
					            if (node.AnimationWorker is AnimationWorker_KeyframesExtended
 | 
				
			||||||
                && node.tree.pawn.TryGetComp<CompExtendedAnimator>(out CompExtendedAnimator extendedAnimator))
 | 
					                && node.tree.pawn.TryGetComp<CompExtendedAnimator>(out CompExtendedAnimator extendedAnimator))
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue