Skip to content

Commit 8c8bb22

Browse files
committed
R21 SP2
1 parent 43d59d2 commit 8c8bb22

File tree

5 files changed

+433
-6
lines changed

5 files changed

+433
-6
lines changed

plugins/py-liquid_painter_r12/py-liquid_painter_r12.pyp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,12 @@ class LiquidTool(c4d.plugins.ToolData):
132132
if pTag is None:
133133
raise MemoryError("Failed to create a Phong Tag.")
134134

135+
# Adds an undo step
136+
doc.AddUndo(c4d.UNDO_NEW, metaball)
137+
135138
# Inserts the object in the active document and set it as active one.
136139
doc.InsertObject(metaball)
137140
doc.SetActiveObject(metaball)
138-
139-
# Adds an undo step
140-
doc.AddUndo(c4d.UNDOTYPE_NEW, metaball)
141141

142142
# Updates the Viewport (so the metaball is drawn)
143143
c4d.DrawViews(c4d.DA_ONLY_ACTIVE_VIEW | c4d.DA_NO_THREAD | c4d.DA_NO_ANIMATION)

scripts/03_application_development/gui/dialog/customgui_quicktab_r19.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Description:
66
- Creates a Modal Dialog displaying a different SubDialog according to the selected entry of the QuickTab.
77
- Demonstrates how to add, flushes, remove tab interactively.
8-
8+
99
Class/method highlighted:
1010
- c4d.gui.QuickTabCustomGui
1111
- QuickTabCustomGui.ClearStrings()
@@ -17,7 +17,7 @@
1717
- GeDialog.HideElement()
1818
- GeDialog.RemoveElement()
1919
- c4d.gui.SubDialog
20-
20+
2121
Compatible:
2222
- Win / Mac
2323
- R19, R20, R21

0 commit comments

Comments
 (0)