Changeset 3440
- Timestamp:
- 07/15/08 12:07:07 (6 months ago)
- Files:
-
- trunk/projects/bos/web/contract-tree.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/projects/bos/web/contract-tree.lisp
r3439 r3440 10 10 (image-req-count :initform 0 :accessor image-req-count))) 11 11 12 (defun contract-node-set-timestamp-now (node) 13 (setf (timestamp node) (get-universal-time))) 12 (defun contract-node-invalidate-timestamp (node) 13 (let ((image (contract-node-find-corresponding-store-image node))) 14 (setf (timestamp node) 15 (if (and image (probe-file (blob-pathname image))) 16 (1+ (blob-timestamp image)) 17 (get-universal-time))))) 14 18 15 19 (defun contract-node-timestamp-updater (contract) … … 103 107 (delete contract (placemark-contracts node))) 104 108 ;; mark intersecting children as dirty 105 (ensure-intersecting-children contract-tree geo-box #'contract-node- set-timestamp-now))))109 (ensure-intersecting-children contract-tree geo-box #'contract-node-invalidate-timestamp)))) 106 110 107 111 (defun contract-tree-changed (contract-tree contract &key type)
