「利用者・トーク:Enjalot/Creating a custom modifier」の版間の差分

提供: wiki
移動先: 案内検索
(Do all modifiers require a isEnabled function?: new section)
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 04:40時点における最新版

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)