Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_node/space_node.cc
| Show First 20 Lines • Show All 279 Lines • ▼ Show 20 Lines | static SpaceLink *node_create(const ScrArea *UNUSED(area), const Scene *UNUSED(scene)) | ||||
| region->v2d.cur = region->v2d.tot; | region->v2d.cur = region->v2d.tot; | ||||
| region->v2d.min[0] = 1.0f; | region->v2d.min[0] = 1.0f; | ||||
| region->v2d.min[1] = 1.0f; | region->v2d.min[1] = 1.0f; | ||||
| region->v2d.max[0] = 32000.0f; | region->v2d.max[0] = 32000.0f; | ||||
| region->v2d.max[1] = 32000.0f; | region->v2d.max[1] = 32000.0f; | ||||
| region->v2d.minzoom = 0.09f; | region->v2d.minzoom = 0.05f; | ||||
| region->v2d.maxzoom = 2.31f; | region->v2d.maxzoom = 2.31f; | ||||
| region->v2d.scroll = (V2D_SCROLL_RIGHT | V2D_SCROLL_BOTTOM); | region->v2d.scroll = (V2D_SCROLL_RIGHT | V2D_SCROLL_BOTTOM); | ||||
| region->v2d.keepzoom = V2D_LIMITZOOM | V2D_KEEPASPECT; | region->v2d.keepzoom = V2D_LIMITZOOM | V2D_KEEPASPECT; | ||||
| region->v2d.keeptot = 0; | region->v2d.keeptot = 0; | ||||
| return (SpaceLink *)snode; | return (SpaceLink *)snode; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 785 Lines • Show Last 20 Lines | |||||