Import a 3D Model and automatically assign and export animations
TypeScript
always make the request animation the last option
Scott Petrovicfaaebc8c9f60
diff --git a/src/lib/processes/animations-listing/AnimationSearch.ts b/src/lib/processes/animations-listing/AnimationSearch.tsindex 2cf62c1..4d38cb9 100644--- a/src/lib/processes/animations-listing/AnimationSearch.ts+++ b/src/lib/processes/animations-listing/AnimationSearch.ts@@ -342,13 +342,13 @@ export class AnimationSearch extends EventTarget {// when searching, the results might be close but not what they want (e.g. "wall" but looking for "wall run")// so give them a way to request an animation at the end of the results- if (filter_text.trim() !== '') {+ //if (filter_text.trim() !== '') {this.animation_list_container.insertAdjacentHTML('beforeend', `<a href="#" class="request-animation-link anim-request-tile" data-rig-type="${this.skeleton_type}"><span>Not finding what you want?</span><span class="anim-request-tile-action">Request an animation</span></a>`)- }+ // }// only so many WebM videos can be playing at the same time// so this is an optimization to convert only elements in the active scroll area to video elementsdiff --git a/src/styles.css b/src/styles.cssindex 5abc744..917ce24 100644--- a/src/styles.css+++ b/src/styles.css@@ -969,8 +969,7 @@ div.modal-dialog-body p.survey-thank-you {height: 160px;padding: 0.5rem;box-sizing: border-box;- border: 1px dashed var(--bg-tertiary);- background: var(--bg-primary);+ border-width: 1px;text-align: center;text-decoration: none;font-style: normal;@@ -980,6 +979,7 @@ div.modal-dialog-body p.survey-thank-you {#animations-items .anim-request-tile:hover {border-color: var(--text-primary);+ border: 1px dashed var(--bg-tertiary);}.anim-request-tile-icon {@@ -990,6 +990,9 @@ div.modal-dialog-body p.survey-thank-you {.anim-request-tile-action {text-decoration: underline;}+.anim-request-tile-action:hover {+ text-decoration: none;+}#build-version {position: fixed;