@@ -119,7 +119,7 @@ def requires_actor(self):
119119 return True
120120
121121
122- yeeshapage_pfms = {
122+ yeeshapage_pfm = {
123123 "filename" : "xYeeshaPages.py" ,
124124 "attribs" : (
125125 { 'id' : 1 , 'type' : "ptAttribActivator" , 'name' : "actClickableBook" },
@@ -154,16 +154,14 @@ class PlasmaYeeshaPage(PlasmaModifierProperties, PlasmaModifierLogicWiz):
154154 def logicwiz (self , bo , tree ):
155155 nodes = tree .nodes
156156
157- yeeshapage_pfm = yeeshapage_pfms
158- yeeshapagenode = self ._create_python_file_node (tree , yeeshapage_pfm ["filename" ], yeeshapage_pfm ["attribs" ])
159- self ._create_clothing_nodes (bo , tree .nodes , yeeshapagenode )
157+ # Create the Python File node
158+ yeeshapagepynode = self ._create_python_file_node (tree , yeeshapage_pfm ["filename" ], yeeshapage_pfm ["attribs" ])
160159
161- def _create_clothing_nodes (self , page_object , nodes , yeeshapagenode ):
162160 # Clickable
163161 yeeshapageclick = nodes .new ("PlasmaClickableNode" )
164162 yeeshapageclick .value = self .page_object
165163 yeeshapageclick .allow_simple = False
166- yeeshapageclick .link_output (yeeshapagenode , "satisfies" , "actClickableBook" )
164+ yeeshapageclick .link_output (yeeshapagepynode , "satisfies" , "actClickableBook" )
167165
168166 # Region
169167 yeeshapageregion = nodes .new ("PlasmaClickableRegionNode" )
@@ -173,4 +171,4 @@ def _create_clothing_nodes(self, page_object, nodes, yeeshapagenode):
173171 # Page Number
174172 yeeshapagenum = nodes .new ("PlasmaAttribIntNode" )
175173 yeeshapagenum .value_int = self .page_number
176- yeeshapagenum .link_output (yeeshapagenode , "pfm" , "PageNumbers" )
174+ yeeshapagenum .link_output (yeeshapagepynode , "pfm" , "PageNumbers" )
0 commit comments