- context drawComponents are always visible

git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@765 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-01-09 13:02:52 +00:00
parent 5427287838
commit 238a6d9258
3 changed files with 15 additions and 15 deletions
+5
View File
@@ -227,6 +227,11 @@ arma::mat& DrawComponent::getData ()
void DrawComponent::DrawData ()
{
if (m_data.n_elem == 0)
{
return;
}
double max = arma::abs(m_data).max();
if (max < 1.0)