Changed default perspective camera far plane | Added string support when copying entities.
This commit is contained in:
@@ -394,6 +394,9 @@ generate_member_copy :: (type: *Type_Info_Struct, builder: *String_Builder, path
|
||||
case .INTEGER; {
|
||||
print_to_builder(builder, "\tcopy.% = e.%;\n", new_path, new_path);
|
||||
}
|
||||
case .STRING; {
|
||||
print_to_builder(builder, "\tcopy.% = copy_string(e.%,,allocator=e.scene.allocator);\n", new_path, new_path);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user