Merge pull request #316 from tcuje/master

Fix #313 and #166
This commit is contained in:
Leonardo Zide 2019-03-06 08:59:30 -08:00 committed by GitHub
commit 0cfc9f7683
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 6 deletions

View file

@ -371,7 +371,7 @@ void lcPartSelectionListModel::DrawPreview(int InfoIndex)
Scene.SetAllowWireframe(false);
Scene.Begin(ViewMatrix);
Info->AddRenderMeshes(Scene, lcMatrix44Identity(), mColorIndex, lcRenderMeshState::NORMAL, true);
Info->AddRenderMeshes(Scene, lcMatrix44Identity(), mColorIndex, lcRenderMeshState::NORMAL, false);
Scene.End();

View file

@ -932,7 +932,9 @@ void lcQPropertiesTree::SetPiece(const lcArray<lcObject*>& Selection, lcObject*
partColor->setText(1, color->Name);
partColor->setData(0, PropertyValueRole, ColorIndex);
partID->setText(1, Info ? Info->m_strDescription : QString());
QString text = Info ? Info->m_strDescription : QString();
partID->setText(1, text);
partID->setToolTip(1, text);
partID->setData(0, PropertyValueRole, qVariantFromValue((void*)Info));
}

View file

@ -1089,7 +1089,7 @@
<message>
<location filename="../common/lc_commands.cpp" line="9"/>
<source>&amp;New</source>
<translation type="unfinished">&amp;Neu</translation>
<translation>&amp;Neu</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="16"/>
@ -1477,7 +1477,7 @@
<message>
<location filename="../common/lc_commands.cpp" line="555"/>
<source>Relative Rotation</source>
<translation>relative Drehung</translation>
<translation>Relative Drehung</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="562"/>
@ -1865,7 +1865,7 @@
<message>
<location filename="../common/lc_commands.cpp" line="1199"/>
<source>Move to New Model...</source>
<translation>Neues Modell bewegen</translation>
<translation>In Neues Modell verschieben</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1206"/>
@ -5495,7 +5495,7 @@ GL_EXT_texture_filter_anisotropic extension: %5
<message>
<location filename="../qt/lc_renderdialog.ui" line="29"/>
<source>Settings</source>
<translation>Einstellwerte</translation>
<translation>Einstellungen</translation>
</message>
<message>
<location filename="../qt/lc_renderdialog.ui" line="41"/>