summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 02df484)
raw | patch | inline | side by side (parent: 02df484)
author | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 10 Jul 2007 12:40:33 +0000 (12:40 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 10 Jul 2007 12:40:33 +0000 (12:40 +0000) |
src/box3d-face.cpp | patch | blob | history | |
src/box3d.cpp | patch | blob | history | |
src/widgets/toolbox.cpp | patch | blob | history |
diff --git a/src/box3d-face.cpp b/src/box3d-face.cpp
index 5eefcb812b4fbc52b7b4892fd8de8d12ca99ea19..f45f4a6ed237ebbe73b8c044f8783eb84e472590 100644 (file)
--- a/src/box3d-face.cpp
+++ b/src/box3d-face.cpp
{
for (int i = 0; i < 4; ++i) {
if (this->corners[i]) {
- delete this->corners[i];
+ //delete this->corners[i];
this->corners[i] = NULL;
}
}
diff --git a/src/box3d.cpp b/src/box3d.cpp
index aefa620cd9f39dd1050c776202e06b06a49f2c22..4ce5d85b97ff37eb84875c07848343b93c75d98c 100644 (file)
--- a/src/box3d.cpp
+++ b/src/box3d.cpp
static void sp_3dbox_init(SP3DBox *box3d);
static void sp_3dbox_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr);
-static void sp_shape_release (SPObject *object);
+//static void sp_3dbox_release (SPObject *object);
static void sp_3dbox_set(SPObject *object, unsigned int key, const gchar *value);
static void sp_3dbox_update(SPObject *object, SPCtx *ctx, guint flags);
static Inkscape::XML::Node *sp_3dbox_write(SPObject *object, Inkscape::XML::Node *repr, guint flags);
sp_object_class->set = sp_3dbox_set;
sp_object_class->write = sp_3dbox_write;
sp_object_class->update = sp_3dbox_update;
+ //sp_object_class->release = sp_3dbox_release;
//item_class->description = sp_3dbox_description;
}
//sp_object_read_attr(object, "width");
}
+/*
static void
sp_3dbox_release (SPObject *object)
{
((SPObjectClass *) parent_class)->release (object);
}
}
-
+*/
static void sp_3dbox_set(SPObject *object, unsigned int key, const gchar *value)
{
index cd2506bef111eb568589657810dc3aa21aadacec..95e893a349dac126515b48cc6ebb8e06b697f8fb 100644 (file)
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
case Box3D::Z:
pstring = g_string_new("togglevpz");
break;
+ default:
+ g_warning ("Only single axis directions may be used to toggle VPs!\n");
+ break;
}
if (SP3DBoxContext::current_perspective) {