projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a crash when editing a waypoint with a non-static value.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
widget_waypoint.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/widget_waypoint.cpp
b/synfig-studio/trunk/src/gtkmm/widget_waypoint.cpp
index
5f61130
..
94ecb45
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/widget_waypoint.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/widget_waypoint.cpp
@@
-1,8
+1,8
@@
/* === S Y N F I G ========================================================= */
/* === S Y N F I G ========================================================= */
-/*! \file
dialog
_waypoint.cpp
+/*! \file
widget
_waypoint.cpp
** \brief Template Header
**
** \brief Template Header
**
-** $Id
: widget_waypoint.cpp,v 1.1.1.1 2005/01/07 03:34:37 darco Exp
$
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@
-43,6
+43,8
@@
#include <gtkmm/optionmenu.h>
#include "widget_time.h"
#include "widget_waypoint.h"
#include <gtkmm/optionmenu.h>
#include "widget_time.h"
#include "widget_waypoint.h"
+#include "general.h"
+
#endif
using namespace synfig;
#endif
using namespace synfig;
@@
-261,7
+263,8
@@
Widget_Waypoint::get_waypoint()const
{
#warning This too!
waypoint.set_time(time_widget->get_value());
{
#warning This too!
waypoint.set_time(time_widget->get_value());
- waypoint.set_value(value_widget->get_value());
+ if(waypoint.is_static())
+ waypoint.set_value(value_widget->get_value());
//int i;
waypoint.set_before((synfig::Waypoint::Interpolation)before->get_history());
//int i;
waypoint.set_before((synfig::Waypoint::Interpolation)before->get_history());