style cleanup: follow style guide for formatting of if/for/while loops, and else...
[blender.git] / source / blender / nodes / shader / nodes / node_shader_dynamic.c
index 0c6c53b38e4b41ec689913431b99d921eb045221..805a7e54f04f50a246516a37a55edfe86930bb34 100644 (file)
@@ -459,7 +459,8 @@ static int node_dynamic_parse(struct bNode *node)
        if (!pyresult) {
                if (BTST(node->custom1, NODE_DYNAMIC_LOADED)) {
                        node_dynamic_disable(node);
-               } else {
+               }
+               else {
                node_dynamic_disable_all_by_id(node->id);
                }
                node_dynamic_pyerror_print(node);
@@ -574,7 +575,8 @@ static void node_dynamic_setup(bNode *node)
                        }
                        else { nodeMakeDynamicType(node); }
 
-               } else {
+               }
+               else {
                        node_dynamic_rem_all_links(node->typeinfo);
                        node_dynamic_free_typeinfo_sockets(node->typeinfo);
                        node_dynamic_update_socket_links(node, NULL);