summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5834db4)
raw | patch | inline | side by side (parent: 5834db4)
author | cilix42 <cilix42@users.sourceforge.net> | |
Sat, 5 Jan 2008 11:59:35 +0000 (11:59 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Sat, 5 Jan 2008 11:59:35 +0000 (11:59 +0000) |
src/sp-item-group.cpp | patch | blob | history |
diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp
index 410a7b37e4c898dc0ba1cce4378e1c2498ff6a39..4fc1608cfdef380889a5d36566e29e80defbfe23 100644 (file)
--- a/src/sp-item-group.cpp
+++ b/src/sp-item-group.cpp
SPItem *pitem = SP_ITEM (SP_OBJECT_PARENT (gitem));
Inkscape::XML::Node *prepr = SP_OBJECT_REPR (pitem);
- /* When ungrouping a 3D box, we must convert the sides to ordinary paths */
- if (SP_IS_BOX3D (gitem)) {
- g_print ("============== Ungrouping a 3D box ===============\n");
- }
-
/* Step 1 - generate lists of children objects */
GSList *items = NULL;
GSList *objects = NULL;
while (l) {
SPObject *child = SP_OBJECT (l->data);
l = g_slist_remove (l, child);
- //g_print ("sp-item-group: onUpdate working on child with flags ");
if (flags || (child->uflags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_CHILD_MODIFIED_FLAG))) {
- /***
- g_print (" On parent object: ");
- 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 ");
- }
- g_print ("\n");
- g_print (" On child object: ");
- if (child->uflags & SP_OBJECT_MODIFIED_FLAG) {
- g_print("SP_OBJECT_MODIFIED_FLAG ");
- }
- if (child->uflags & SP_OBJECT_CHILD_MODIFIED_FLAG) {
- g_print("SP_OBJECT_CHILD_MODIFIED_FLAG ");
- }
- ***/
if (SP_IS_ITEM (child)) {
SPItem const &chi = *SP_ITEM(child);
cctx.i2doc = chi.transform * ictx->i2doc;
cctx.i2vp = chi.transform * ictx->i2vp;
- /**
- g_print ("case 1\n");
- g_print ("\n On parent object: flags=%d ", flags);
- g_print ("\n On child object: uflags=%d ", child->uflags);
- 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 ");
- g_print ("\n");
- if (child->uflags & SP_OBJECT_MODIFIED_FLAG) {
- g_print("SP_OBJECT_MODIFIED_FLAG ");
- }
- if (child->uflags & SP_OBJECT_CHILD_MODIFIED_FLAG) {
- g_print("SP_OBJECT_CHILD_MODIFIED_FLAG ");
- }
- g_print ("\n");
- **/
- //g_print ("Caution! The changed code applies! Does this change any behaviour?\n");
child->updateDisplay((SPCtx *)&cctx, flags);
- //child->updateDisplay((SPCtx *)&cctx, child->uflags);
} else {
child->updateDisplay(ctx, flags);
- //g_print ("case 2\n");
}
}
g_object_unref (G_OBJECT (child));