Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve multiline_string #2072

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui/zenomodel/src/graphsmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ NODE_DESCS GraphsModel::getCoreDescs()
QString strDescs = QString::fromStdString(zeno::getSession().dumpDescriptors());
//zeno::log_critical("EEEE {}", strDescs.toStdString());
//ZENO_P(strDescs.toStdString());
QStringList L = strDescs.split("\n");
QStringList L = strDescs.split("\a");
for (int i = 0; i < L.size(); i++)
{
QString line = L[i];
Expand Down
2 changes: 1 addition & 1 deletion zeno/src/core/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ ZENO_API std::string Session::dumpDescriptors() const {
res += "{" + join_str(strs, "%") + "}";
res += "{" + join_str(desc.categories, "%") + "}";

res += "\n";
res += "\a";
}
return res;
}
Expand Down
2 changes: 1 addition & 1 deletion zeno/src/nodes/JsonProcess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ ZENDEFNODE(PrimUserDataToJson, {
{
"iObject",
{"bool", "output_all", "0"},
{"multiline_string", "keys", "abc_path _pivot _rotate _scale _translate _transform_row0 _transform_row1 _transform_row2 _transform_row3"},
{"multiline_string", "keys", "abc_path\n_pivot\n_rotate\n_scale\n_translate\n_transform_row0\n_transform_row1\n_transform_row2\n_transform_row3"},
},
{
"json",
Expand Down
Loading