Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
241c9736
Kaydet (Commit)
241c9736
authored
Haz 15, 2012
tarafından
Andre Fischer
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i119966# Fixed the handling of the "visibility" flag of animations.
Patch by: Steve Yin Review by: Andre Fischer
üst
8af699cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
targetpropertiescreator.cxx
animations/source/animcore/targetpropertiescreator.cxx
+14
-9
No files found.
animations/source/animcore/targetpropertiescreator.cxx
Dosyayı görüntüle @
241c9736
...
...
@@ -276,9 +276,9 @@ namespace animcore
// FALLTHROUGH intended
case
animations
:
:
AnimationNodeType
::
AUDIO
:
// FALLTHROUGH intended
default
:
/*
default:
// ignore this node, no valuable content for now.
break
;
break;
*/
case
animations
:
:
AnimationNodeType
::
SET
:
{
...
...
@@ -343,9 +343,9 @@ namespace animcore
// initially. This is currently the only place
// where a shape effect influences shape
// attributes outside it's effective duration.
sal_Bool
bVisible
(
sal_False
);
if
(
xAnimateNode
->
getAttributeName
().
equalsIgnoreAsciiCaseAscii
(
"visibility"
)
)
{
sal_Bool
bVisible
(
sal_False
);
uno
::
Any
aAny
(
xAnimateNode
->
getTo
()
);
...
...
@@ -371,22 +371,27 @@ namespace animcore
}
}
if
(
bVisible
)
/*
if( bVisible )
{
// target is set to 'visible' at the
// first relevant effect. Thus, target
// must be initially _hidden_, for the
// effect to have visible impact.
mrShapeHash
.
insert
(
*/
}
// target is set the 'visible' value,
// so we should record the opposite value
mrShapeHash
.
insert
(
XShapeHash
::
value_type
(
aTarget
,
VectorOfNamedValues
(
1
,
beans
::
NamedValue
(
xAnimateNode
->
getAttributeName
(),
uno
::
makeAny
(
sal_False
)
)
)
)
);
}
}
//xAnimateNode->getAttributeName(),
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"visibility"
)),
uno
::
makeAny
(
!
bVisible
)
)
)
)
);
//}
//}
}
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment