Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
50bd9905
Commit
50bd9905
authored
4 years ago
by
Rye Mutt
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://git.alchemyviewer.org/alchemy/alchemy-next
into master
parents
00e1701d
6f08ee11
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
indra/newview/alaoengine.cpp
+23
-0
23 additions, 0 deletions
indra/newview/alaoengine.cpp
indra/newview/alaoset.cpp
+1
-1
1 addition, 1 deletion
indra/newview/alaoset.cpp
with
26 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
1
View file @
50bd9905
...
...
@@ -6,6 +6,7 @@ default:
interruptible
:
true
variables
:
AUTOBUILD_BUILD_ID
:
$CI_PIPELINE_ID
VIEWER_USE_CRASHPAD
:
"
FALSE"
VIEWER_CRASHPAD_URL
:
$SENTRY_DSN
...
...
@@ -176,7 +177,7 @@ build:release:windows64:
Authorization = "Basic $([System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("$env:AUTOBUILD_HTTP_USER`:$env:AUTOBUILD_HTTP_PASS")))"; };
Verbose = $true; };
Push-Location .\build-linux-64\newview\
Release\
Push-Location .\build-linux-64\newview\
$FileNameLnx64 = Get-ChildItem -Path . -Name -Include Alchemy_*.tar.bz2
Invoke-WebRequest @UploadParams -InFile .\$FileNameLnx64 -Uri "${UploadDestURL}/${FileNameLnx64}"
Pop-Location
...
...
This diff is collapsed.
Click to expand it.
indra/newview/alaoengine.cpp
+
23
−
0
View file @
50bd9905
...
...
@@ -1741,6 +1741,12 @@ void ALAOEngine::parseNotecard(std::unique_ptr<char[]>&& buffer)
std
::
string
stateName
=
line
.
substr
(
1
,
endTag
-
1
);
LLStringUtil
::
trim
(
stateName
);
// Recognized but not currently implemented. Handled here to avoid misleading "state not found" notification.
if
(
"Standing mode 2"
==
stateName
||
"Standing Calm"
==
stateName
)
{
continue
;
}
ALAOSet
::
AOState
*
newState
=
mImportSet
->
getStateByName
(
stateName
);
if
(
!
newState
)
{
...
...
@@ -1770,6 +1776,13 @@ void ALAOEngine::parseNotecard(std::unique_ptr<char[]>&& buffer)
newState
->
mAnimations
.
push_back
(
animation
);
isValid
=
true
;
}
if
(
"Standing mode 1"
==
stateName
)
{
newState
->
mCycle
=
true
;
newState
->
mCycleTime
=
30.0
f
;
newState
->
mDirty
=
true
;
}
}
if
(
!
isValid
)
...
...
@@ -1824,6 +1837,16 @@ void ALAOEngine::processImport(bool aFromTimer)
ALAOSet
::
AOState
*
state
=
mImportSet
->
getState
(
index
);
if
(
!
state
->
mAnimations
.
empty
())
{
if
(
state
->
mCycleTime
)
{
const
std
::
string
oldName
=
state
->
mName
;
state
->
mName
=
llformat
(
"%s%d"
,
oldName
+
":CT"
,
state
->
mCycleTime
);
}
if
(
state
->
mCycle
)
{
const
std
::
string
oldName
=
state
->
mName
;
state
->
mName
=
llformat
(
"%s%s"
,
oldName
,
":CY"
);
}
allComplete
=
false
;
LL_DEBUGS
(
"AOEngine"
)
<<
"state "
<<
state
->
mName
<<
" still has animations to link."
<<
LL_ENDL
;
...
...
This diff is collapsed.
Click to expand it.
indra/newview/alaoset.cpp
+
1
−
1
View file @
50bd9905
...
...
@@ -48,7 +48,7 @@ ALAOSet::ALAOSet(const LLUUID& inventoryID)
// ZHAO names first, alternate names following, separated by | characters
// keep number and order in sync with the enum in the declaration
static
const
std
::
array
<
std
::
string
,
AOSTATES_MAX
>
sStateNames
{{
"Standing|Stand.1|Stand.2|Stand.3"
,
"Standing|
Standing mode 1|
Stand.1|Stand.2|Stand.3"
,
"Walking|Walk.N"
,
"Running"
,
"Sitting|Sit.N"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment