Skip to content

Commit

Permalink
Doc: move choice options to knob desc
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKepzie committed Sep 20, 2016
1 parent 77dc0e7 commit f74f4c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Engine/Node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4426,12 +4426,12 @@ Node::makeDocumentation(bool genHTML) const
}
std::vector<std::string> entriesHelp = isChoice->getEntriesHelp_mt_safe();
if ( entries.size() == entriesHelp.size() ) {
valueStr.append( QString::fromUtf8("\n\n") );
knobHint.append( QString::fromUtf8("\n\n") );
for (size_t i = 0; i < entries.size(); i++) {
QString entry = QString::fromUtf8( entries[i].c_str() );
QString entryHelp = QString::fromUtf8( entriesHelp[i].c_str() );
if (!entry.isEmpty() && !entryHelp.isEmpty() ) {
valueStr.append( QString::fromUtf8("**%1**: %2\n").arg(entry).arg(entryHelp) );
knobHint.append( QString::fromUtf8("**%1**: %2\n").arg(entry).arg(entryHelp) );
}
}
}
Expand Down

0 comments on commit f74f4c9

Please sign in to comment.