projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The XOR Pattern layer now has 'Z Depth', 'Amount' and 'Blend Method' parameters....
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
lyr_std
/
import.cpp
diff --git
a/synfig-core/trunk/src/modules/lyr_std/import.cpp
b/synfig-core/trunk/src/modules/lyr_std/import.cpp
index
5862bdb
..
28801a1
100644
(file)
--- a/
synfig-core/trunk/src/modules/lyr_std/import.cpp
+++ b/
synfig-core/trunk/src/modules/lyr_std/import.cpp
@@
-2,6
+2,8
@@
/*! \file import.cpp
** \brief Image Import Layer Implementation
**
/*! \file import.cpp
** \brief Image Import Layer Implementation
**
+** $Id$
+**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
@@
-81,7
+83,7
@@
Import::set_param(const String & param, const ValueBase &value)
{
try{
IMPORT(time_offset);
{
try{
IMPORT(time_offset);
- if(param=="filename" && value.same_as(filename))
+ if(param=="filename" && value.same_
type_
as(filename))
{
if(!get_canvas())
{
{
if(!get_canvas())
{
@@
-96,7
+98,7
@@
Import::set_param(const String & param, const ValueBase &value)
// Get rid of any %20 crap
{
// Get rid of any %20 crap
{
-
unsigned int
n;
+
String::size_type
n;
while((n=newfilename.find("%20"))!=String::npos)
newfilename.replace(n,3," ");
}
while((n=newfilename.find("%20"))!=String::npos)
newfilename.replace(n,3," ");
}