Quellcode durchsuchen

Fix CI 2

master
Palash Bansal vor 1 Jahr
Ursprung
Commit
05af5eaaec
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden

+ 1
- 1
.github/workflows/deploy-pages.yml Datei anzeigen

cache: 'npm' cache: 'npm'
cache-dependency-path: '**/package-lock.json' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data cache-dependency-path: '**/package-lock.json' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data
- run: npm ci # this will also run `npm run prepare` which will build # todo use --cache .npm - run: npm ci # this will also run `npm run prepare` which will build # todo use --cache .npm
- run: npm run build-site # builds to _site
env: env:
DOT_ENV_CONTENT: ${{ secrets.examples_dot_env }} DOT_ENV_CONTENT: ${{ secrets.examples_dot_env }}
- run: npm run build-site # builds to _site
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v3
with: with:

+ 13
- 13
plugins/3d-tiles-renderer/src/EnvironmentControlsPlugin.ts Datei anzeigen



@uiFolderContainer('Environment Controls') @uiFolderContainer('Environment Controls')
export class EnvironmentControls2 extends EnvironmentControls { export class EnvironmentControls2 extends EnvironmentControls {
@uiToggle() @serialize() enabled: boolean
@uiInput() @serialize() cameraRadius: number
@uiInput() @serialize() rotationSpeed: number
@uiInput() @serialize() minAltitude: number
@uiInput() @serialize() maxAltitude: number
@uiInput() @serialize() minDistance: number
@uiToggle() @serialize() declare enabled: boolean
@uiInput() @serialize() declare cameraRadius: number
@uiInput() @serialize() declare rotationSpeed: number
@uiInput() @serialize() declare minAltitude: number
@uiInput() @serialize() declare maxAltitude: number
@uiInput() @serialize() declare minDistance: number
@uiInput() @serialize() maxDistance = 1e9 // should be Infinity but this breaks the UI @uiInput() @serialize() maxDistance = 1e9 // should be Infinity but this breaks the UI
@uiInput() @serialize() minZoom: number
@uiInput() @serialize() declare minZoom: number
@uiInput() @serialize() maxZoom = 1e9 // should be Infinity but this breaks the UI @uiInput() @serialize() maxZoom = 1e9 // should be Infinity but this breaks the UI
@uiInput() @serialize() zoomSpeed: number
@uiToggle() @serialize() adjustHeight: boolean
@uiToggle() @serialize() enableDamping: boolean
@uiInput() @serialize() dampingFactor: number
@uiToggle() @serialize() useFallbackPlane: boolean
@uiInput() @serialize() declare zoomSpeed: number
@uiToggle() @serialize() declare adjustHeight: boolean
@uiToggle() @serialize() declare enableDamping: boolean
@uiInput() @serialize() declare dampingFactor: number
@uiToggle() @serialize() declare useFallbackPlane: boolean


@uiVector() @serialize() pivotPoint: Vector3
@uiVector() @serialize() declare pivotPoint: Vector3


// does nothing right now, required so autoLookAtTarget is not used // does nothing right now, required so autoLookAtTarget is not used
target = new Vector3() target = new Vector3()

Laden…
Abbrechen
Speichern