summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aac2125)
raw | patch | inline | side by side (parent: aac2125)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 24 Dec 2007 05:06:27 +0000 (05:06 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 24 Dec 2007 05:06:27 +0000 (05:06 +0000) |
src/box3d-side.cpp | patch | blob | history |
diff --git a/src/box3d-side.cpp b/src/box3d-side.cpp
index 741bf97b40c61f58321bfa6cfe6ee0589bd9a35f..d1111aacb7b01f7a239b1f0c59c7e80593dc2c94 100644 (file)
--- a/src/box3d-side.cpp
+++ b/src/box3d-side.cpp
static void
box3d_side_update (SPObject *object, SPCtx *ctx, guint flags)
{
+ if (flags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG | SP_OBJECT_VIEWPORT_MODIFIED_FLAG)) {
+ flags &= ~SP_OBJECT_USER_MODIFIED_FLAG_B; // since we change the description, it's not a "just translation" anymore
+ }
+
//g_print ("box3d_side_update\n");
if (flags & (SP_OBJECT_MODIFIED_FLAG |
//SP_OBJECT_CHILD_MODIFIED_FLAG |
SP_OBJECT_STYLE_MODIFIED_FLAG |
SP_OBJECT_VIEWPORT_MODIFIED_FLAG)) {
- /***
- g_print ("\n\nIn box3d_side_update: ");
- if (flags & SP_OBJECT_MODIFIED_FLAG) g_print ("SP_OBJECT_MODIFIED_FLAG ");
- if (flags & SP_OBJECT_CHILD_MODIFIED_FLAG) g_print ("SP_OBJECT_CHILD_MODIFIED_FLAG ");
- if (flags & SP_OBJECT_STYLE_MODIFIED_FLAG) g_print ("SP_OBJECT_STYLE_MODIFIED_FLAG ");
- if (flags & SP_OBJECT_VIEWPORT_MODIFIED_FLAG) g_print ("SP_OBJECT_VIEWPORT_MODIFIED_FLAG ");
- g_print ("\n");
- ***/
sp_shape_set_shape ((SPShape *) object);
}