fix project list showing projects of double clicked files (#2441)
* make sure there is at least one kcl file in the dir to show in list Signed-off-by: Jess Frazelle <github@jessfraz.com> * open the correct file not assuming main.kcl Signed-off-by: Jess Frazelle <github@jessfraz.com> * add file path tests Signed-off-by: Jess Frazelle <github@jessfraz.com> * update settings paths Signed-off-by: Jess Frazelle <github@jessfraz.com> * new images Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -77,16 +77,6 @@ async fn setup(code: &str, name: &str) -> Result<(ExecutorContext, Program, uuid
|
||||
)
|
||||
.await?;
|
||||
|
||||
// Enter edit mode.
|
||||
// We can't get control points of an existing sketch without being in edit mode.
|
||||
ctx.engine
|
||||
.send_modeling_cmd(
|
||||
uuid::Uuid::new_v4(),
|
||||
SourceRange::default(),
|
||||
ModelingCmd::EditModeEnter { target: sketch_id },
|
||||
)
|
||||
.await?;
|
||||
|
||||
Ok((ctx, program, sketch_id))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user