Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-29style cleanupCampbell Barton
2012-12-28code cleanup: move view3d buffer bones loop into a static function (was not ↵Campbell Barton
breaking out of the loop when a bone was found).
2012-12-26Todo item:Ton Roosendaal
- Drop group into 3d window now puts itself at mouse cursor location. - Drop objects into 3d window now doesn't move the 3d cursor anymore. Added new function ED_view3d_cursor3d_position() to handle this, so the temporarily object-drop operator macro also could go away. (Which was setting 3d cursor)
2012-12-26Bug fix #33673Ton Roosendaal
Edge length display in standard files (1 blender unit == 1) only gave two numbers precision for lengths > 1. Three is much nicer at least. The guess-work here in the code remains a bit dubious :)
2012-12-23code cleanupCampbell Barton
2012-12-23Code cleanup: add usual 'BKE_' prefix to 'public' constraint functions from ↵Bastien Montagne
blenkernel...
2012-12-23fix for bug where weight paint would draw hidden faces but not draw then ↵Campbell Barton
with the backbuffer (depth selection).
2012-12-23add zbuf/depth option to weight paint border & circle selectCampbell Barton
2012-12-23add zbuf/depth option to weight paint lasso select.Campbell Barton
2012-12-23initial support for 'occlude background geometry' in weight paint mode.Campbell Barton
Only support mouse vertex select at the moment.
2012-12-23style cleanup: wrap long lines (>200)Campbell Barton
2012-12-22Outliner:Ton Roosendaal
Added drag-drop support for Groups. On drop in 3d window it creates an instance. Todo: it adds this on 3d cursor position still. The existing drop-object-duplicate operator is a Macro - with warning. For adding on mouse-cursor position we need a better way (new function call, just use operator option).
2012-12-22code cleanup:Campbell Barton
make vertex/weight flag names consistent ME_EDIT_VERT_SEL --> ME_EDIT_PAINT_VERT_SEL ME_EDIT_PAINT_MASK --> ME_EDIT_PAINT_FACE_SEL also remove unused header BLO_soundfile.h
2012-12-22"Fix" for [#33524] Interaction of "Size" & "Distance" sliders in "Spot Lamp" ↵Bastien Montagne
panel with "3D view" Simply added a dashed line materializing the center/direction of the spot, and ending at Distance from it (exactly as for the Area lamp). We already had something similar for buffered shadow spots (to materialize start/end clipping), and imho it's also quite useful to see *where* points a spot, when using wide spots! Very easy to revert anyway.
2012-12-21speedup for face tessellation:Campbell Barton
- quads, tris now use direct pointer access rather then iterators. - for ngons also avoid iterator, just loop over the loops. also minor change, use floorf rather then floor for ED_view3d_project_short_ex, ED_view3d_project_int_ex
2012-12-21replace MIN/MAX 3,4 with inline functionsCampbell Barton
2012-12-21fix own regression in 2.65 [#33643] Rotation does not work at certain zoom levelCampbell Barton
caused by not projecting points behind the perspective view, even though this worked in 2.64 the values were flipped (rotating direction was reversed and the center point was flipped). added V3D_PROJ_TEST_CLIP_NEAR, when omitted ED_view3d_project_*** will project points from behind a perspective view plane.
2012-12-21correct ed_view3d_project__internal() was unnecessarily casting (float -> ↵Campbell Barton
short -> float).
2012-12-20Bug fix:Ton Roosendaal
Laptop trackpad scroll was inverted for 3d window. Now movement is consistent among editors and follows system prefs.
2012-12-20style cleanupCampbell Barton
2012-12-18Nicer function for drawing text in 3d window:Ton Roosendaal
ED_region_visible_rect(ar, rect) Returns the visible rect inside a region, subtracting the overlapping UI regions. Added with minimal overhead, only called once per region draw. Also fixes the 'Auto Key' warning print in 3d window (was behind properties)
2012-12-18Fix #33599: VBO textured draw mode did not update correctly when an image ↵Brecht Van Lommel
filepath was changed to an invalid one. Also fixed Object Color not being displayed correctly with VBO's. The way it has to clear the VBO buffers here is quite poor though and slow, we really need textures and materials in the depsgraph to do this quicker.
2012-12-18Correction for own commit r53006, removed some ndof keymaps, bad!Campbell Barton
2012-12-18Minor tweaks to some UI messages...Bastien Montagne
2012-12-17Bugfix 33560Ton Roosendaal
Setup: 2 windows, 2 scenes, shared objects and groups. Errors: - editing in 1 window, didn't correctly update shared stuff in the other (like child - parent relations) - deleting group members in 1 scene, could crash the other. Fixes: - On load, only a depsgraph was created for the "active" scene. Now it makes depsgraphs for all visible scenes. - "DAG ID flushes" were only working on active scenes too, they now take the other visible into account as well. - Delete object - notifier was only sent to the active scene. All in all it's a real depsgraph fix (for once!) :) Using multi-window and multi-scene setups now is more useful.
2012-12-17Added GPL header to sconscripts!Bastien Montagne
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-12-17code cleanup: use 'const float *' when getting the 3d cursor and not editing it.Campbell Barton
2012-12-17missed this recent commit, while drawing grease pencil, draw if 'Render ↵Campbell Barton
Only' is on.
2012-12-17fix [#33501] Grease pencil in OpenGL renderCampbell Barton
With the view3d 'Render Only' option, grease pencil wouldn't draw, but for OpenGL render it did. Since grease pencil can be very useful in opengl renders, enable grease pencil drawing with 'Render Only' option in the viewport, and add a checkbox in the grease pencil header not to draw (unchecking each layer is annoying and applies to all spaces).
2012-12-16Fix region overlap drawing over render info text in image editor and 3d view.Brecht Van Lommel
2012-12-16replace strcpy with BLI_strncpy or memcpy when the size is known.Campbell Barton
2012-12-16error in 53006, moved into another keymap rather then just re-ordering.Campbell Barton
2012-12-15prevent the text 3d cursor from z-fighting with the text.Campbell Barton
2012-12-14workaround for ndof events showing in view3d menu items. (add before other ↵Campbell Barton
keys, eventually we may want to have some kind of priority here)
2012-12-14Fix #33530: Blender Crash when selecting "Point select mode" in Particle ↵Sergey Sharybin
Mode with and 0 hairs object
2012-12-14add back a key to access view-cursor (alt+home)Campbell Barton
2012-12-14Fix #33526: Bezier Curve Tilt in transform panel does not work beyond 360 ↵Sergey Sharybin
degrees No need to clamp tilt value in transform panel, til beyond 360 degrees works fine and clamping it in panel lead to some unexpected behavior.
2012-12-14Fix #33522: Crash when "rotate arond selection" is on, and when no object in ↵Sergey Sharybin
scene Own regression in recent fix
2012-12-13Fix #33510: Rotate around selection doesn't work when .blend saved in sculpt ↵Sergey Sharybin
mode Issue was caused by calculateTransformCenter not giving any center point in cases object is in painting mode, which lead to previous offset used for view rotation. Since this previous offset is a static variable, it'll mean rotation will happen around scene origin after re-starting blender. Now made it so viewport rotation will use active object's center as an offset when active object is in painting mode. Should behave in more predictable way.
2012-12-13disable openmp thread assert, would fail in cases where the caller was ↵Campbell Barton
locking for its self (sculpt mode)
2012-12-13region overlap feature missed view3d grid-scale text, increase string size ↵Campbell Barton
for title text too.
2012-12-13remove UI_DPI_FAC, its not needed anymore.Campbell Barton
2012-12-13style cleanup: changes from recent commitsCampbell Barton
2012-12-12Holiday coding log :)Ton Roosendaal
Nice formatted version (pictures soon): http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability Short list of main changes: - Transparent region option (over main region), added code to blend in/out such panels. - Min size window now 640 x 480 - Fixed DPI for ui - lots of cleanup and changes everywhere. Icon image need correct size still, layer-in-use icon needs remake. - Macbook retina support, use command line --no-native-pixels to disable it - Timeline Marker label was drawing wrong - Trackpad and magic mouse: supports zoom (hold ctrl) - Fix for splash position: removed ghost function and made window size update after creation immediate - Fast undo buffer save now adds UI as well. Could be checked for regular file save even... Quit.blend and temp file saving use this now. - Dixed filename in window on reading quit.blend or temp saves, and they now add a warning in window title: "(Recovered)" - New Userpref option "Keep Session" - this always saves quit.blend, and loads on start. This allows keeping UI and data without actual saves, until you actually save. When you load startup.blend and quit, it recognises the quit.blend as a startup (no file name in header) - Added 3D view copy/paste buffers (selected objects). Shortcuts ctrl-c, ctrl-v (OSX, cmd-c, cmd-v). Coded partial file saving for it. Could be used for other purposes. Todo: use OS clipboards. - User preferences (themes, keymaps, user settings) now can be saved as a separate file. Old option is called "Save Startup File" the new one "Save User Settings". To visualise this difference, the 'save startup file' button has been removed from user preferences window. That option is available as CTRL+U and in File menu still. - OSX: fixed bug that stopped giving mouse events outside window. This also fixes "Continuous Grab" for OSX. (error since 2009)
2012-12-12Sequencer: add textured solid option for opengl previewSergey Sharybin
2012-12-12make EDBM_index_arrays's stay in memory, blender was allocating an array and ↵Campbell Barton
filling it for verts/edges/faces on every redraw. this may introduce bugs which I didn't catch, but they are very easy to identify in a debug build which has asserts to ensure the arrays are valid before use. in my own test drawing ~98,304 quads - this gave an overall ~16% drawing speedup.
2012-12-12use htype flags as arguments to EDBM_index_arrays_init(), no functional changes.Campbell Barton
2012-12-11change to r52888, since we dont always want ED_view3d_offset_distance() to ↵Campbell Barton
give a corrected value, instead pass a fallback so callers don't allow zero by accident.
2012-12-11fix for warnings/errors in recent commitsCampbell Barton
2012-12-11Bug fix, irc report:Ton Roosendaal
When camera is the pivot of 3d window, and you go to camera view, moving out of view with MMB drag causes zooming to stop working. Zooms depend on view3d "dist" value, which then became zero. This fix just makes dist "1.0" then, arbitrary but keeps things at least work. (Tried restoring to previous 'dist', but this fails in cases too)