利用者・トーク:Enjalot/Creating a custom modifier

提供: wiki
2014年1月25日 (土) 20:02時点におけるwiki>Ilent2による版 (Do all modifiers require a isEnabled function?: new section)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

Error in Python code

I believe there is an error in the last Python def.

    def ENJA(self, layout, ob, md, wide_ui):
        layout.label(text="Coming soon.")

should be written without wide_ui:

    def ENJA(self, layout, ob, md):
        layout.label(text="Coming soon.")

--Shinjin 12:16, 19 November 2010 (UTC)

Do all modifiers require a isEnabled function?

Is the segment int modifiers_isEnjaEnabled(struct Object *ob); required for all modifiers? Since none of the other modifiers I can see have similar definitions, I would think not. Is this just something tricky that the SoftBody modifier was doing? Hmm...???

Ilent2 12:02, 25 January 2014 (CET)