mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 01:38:18 +08:00
tiny cleanup
This commit is contained in:
1 parent
841fa5155c
commit
23da99622c
1 file changed
+1
-1
+1
-1
@@ -202,7 +202,7 @@ isSkinnedCb(RpAtomic *atomic, void *data)
|
||||
RpAtomic **pAtomic = (RpAtomic**)data;
|
||||
if(*pAtomic)
|
||||
return nil; // already found one
|
||||
if(RpSkinGeometryGetSkin(atomic->geometry))
|
||||
if(RpSkinGeometryGetSkin(RpAtomicGetGeometry(atomic)))
|
||||
*pAtomic = atomic; // we could just return nil here directly...
|
||||
return atomic;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user