Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Task #3231: Sketcher Offset of a curve
[modules/shaper.git]
/
src
/
Model
/
Model_AttributeIntArray.cpp
diff --git
a/src/Model/Model_AttributeIntArray.cpp
b/src/Model/Model_AttributeIntArray.cpp
index 9db430b22cb73ea09c31581b303c387b2e81eef2..d6602bba7ade5d9c5900eaa945753209c49a21c3 100644
(file)
--- a/
src/Model/Model_AttributeIntArray.cpp
+++ b/
src/Model/Model_AttributeIntArray.cpp
@@
-74,7
+74,7
@@
void Model_AttributeIntArray::setValue(const int theIndex,
const int theValue,
bool sendUpdated)
{
- if (myArray->Value(theIndex) != theValue) {
+ if (
!isInitialized() ||
myArray->Value(theIndex) != theValue) {
setInitialized();
myArray->SetValue(theIndex, theValue);
if (sendUpdated)