Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.
/ trial Public archive

Commit 6a4964d

Browse files
committed
Fix trigger child translation
1 parent 9b73472 commit 6a4964d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

formats/gltf/physics.lisp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,10 @@
162162

163163
(defun %find-child (name node &optional errorp)
164164
(sequences:dosequence (child node (when errorp (error "No child named ~a found!" name)))
165-
(when (and (<= (length name) (length (name child)))
166-
(string= name (name child) :end2 (length name)))
167-
(return child))))
165+
(let ((child-name (string (name child))))
166+
(when (and (<= (length name) (length child-name))
167+
(string= name child-name :end2 (length name)))
168+
(return child)))))
168169

169170
(define-trigger-translation T (trigger node)
170171
(declare (ignore node))

0 commit comments

Comments
 (0)