Fixed object inheritance XML generation.
The problem was in wrong insertion of additional <base> nodes to the main <object> node. If any base node already exists, additional nodes should be inserted after it. However the test that checked for this condition was spelled incorrectly - instead of >, == was used. This is fixed now.
|@@ -878,7 +878,7 @@ - (void) fixInheritanceForObject:(NSString*) objectName|
|// subnodes, we will properly setup the insertion index after the last one.|
|NSUInteger insertionIndex = ([objectNode childCount] < 4) ? [objectNode childCount] - 1 : 3;|
|NSArray* baseNodes = [objectNode nodesForXPath:@"base" error:nil];|
|- if ([baseNodes count] == 0)|
|+ if ([baseNodes count] > 0)|
|insertionIndex = [[baseNodes lastObject] index] + 1;|