eugene-og / threes-company

Automatically exported from code.google.com/p/threes-company
0 stars 0 forks source link

Implement minimum size a blob has to be before splitting #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Right now, looks like you can split blobs down to unclickable 1-pixel ones...

In the GUI, the Split button should be disabled for blobs that are too
small to split.

Original issue reported on code.google.com by gene...@gmail.com on 29 Nov 2007 at 4:12

GoogleCodeExporter commented 9 years ago

Original comment by gene...@gmail.com on 29 Nov 2007 at 4:13

GoogleCodeExporter commented 9 years ago
Yeah, this needs to happen. I'll talk to John about it also, because we have to 
link
these together...

Original comment by zac...@gmail.com on 29 Nov 2007 at 4:18

GoogleCodeExporter commented 9 years ago
How's this for a solution- implement enough of move prediction so that if 
someone
clicks to split a blob that's too small, the gui tries to predict it, the 
prediction
notified it's caller that that's an invalid move and why (maybe via 
exception?), and
the gui doesn't allow it continue and tells the user what happened. This will 
easily
allow the gui to check all actions before allowing them/adding them to the 
queue and
uses infrastructure we already need and maybe have implemented.

Original comment by dbenamy on 29 Nov 2007 at 9:15

GoogleCodeExporter commented 9 years ago
* when enabling action buttons in gui for selected blob, simply check if size 
is at
least BLOB_INITIAL_SIZE to enable Split button.

Original comment by morales....@gmail.com on 2 Dec 2007 at 9:10