Reverting expression caching changes.
The caching should happen in the sheet object not the property
This commit is contained in:
parent
c1f7817eb3
commit
abb56a5c76
8 changed files with 39 additions and 58 deletions
|
|
@ -38,7 +38,7 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
public string Value(IObject3D owner)
|
||||
{
|
||||
var rebuilding = owner.RebuildLocked;
|
||||
var value = SheetObject3D.EvaluateExpression<string>(owner, GetExpression(rebuilding));
|
||||
var value = SheetObject3D.EvaluateExpression<string>(owner, Expression);
|
||||
if (rebuilding)
|
||||
{
|
||||
ExpressionValueAtLastRebuild = value.ToString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue