Skip to content

Commit

Permalink
Merge pull request #2072 from zenustech/imporve-multiline_string
Browse files Browse the repository at this point in the history
improve multiline_string
  • Loading branch information
zhxx1987 authored Dec 12, 2024
2 parents 8a1caea + 76dcf50 commit b518b64
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit b518b64

Please sign in to comment.