diff --git a/newIDE/app/src/InstructionOrExpression/EnumerateInstructions.js b/newIDE/app/src/InstructionOrExpression/EnumerateInstructions.js index 2d677d5e00ec..7dbd79c4531b 100644 --- a/newIDE/app/src/InstructionOrExpression/EnumerateInstructions.js +++ b/newIDE/app/src/InstructionOrExpression/EnumerateInstructions.js @@ -26,9 +26,6 @@ const isObjectInstruction = ( objectType?: string, objectBehaviorTypes?: Set ): boolean => { - if (instructionMetadata.getType === 'BuiltinCommonInstructions::Once') { - console.log('isObjectInstruction?'); - } let firstParameterIndex = -1; for ( let index = 0; @@ -42,16 +39,10 @@ const isObjectInstruction = ( } } if (firstParameterIndex === -1) { - if (instructionMetadata.getType === 'BuiltinCommonInstructions::Once') { - console.log('No 1st parameter'); - } return false; } const firstParameter = instructionMetadata.getParameter(firstParameterIndex); if (!gd.ParameterMetadata.isObject(firstParameter.getType())) { - if (instructionMetadata.getType === 'BuiltinCommonInstructions::Once') { - console.log('Not an object'); - } return false; } if ( @@ -63,9 +54,6 @@ const isObjectInstruction = ( } if (!objectBehaviorTypes) { - if (instructionMetadata.getType === 'BuiltinCommonInstructions::Once') { - console.log('Object without behavior constraints'); - } return true; } for (