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
2011-05-15remove some unused view3d members & added RV3D_VIEW_USER define.Campbell Barton
Aligorith: replaced v3d->keyflags with ANIMFILTER_KEYS_LOCAL since v3d->keyflags couldn't be set anywhere and wasn't initialized.
2011-05-15fix for bug with camera locking, view dolly and rotate with 'about ↵Campbell Barton
selection' preference enabled would offset the camera.
2011-05-15fix for user reported issuesCampbell Barton
- camera object movement was missing a notifier - auto perspective now works when rotating the view. - shift+b now zooms.
2011-05-14option to have the view controls apply to the camera view (and camera object).Campbell Barton
- follow rotate/pan/zoom/dolly operators. - auto-depth preference works. - smooth view navigation supported. - view selected, all & numpad operator work too. TODO - deal with camera transform locked axis - find a way to move/zoom the frame while the camera is locked (if it turns out to be a problem).
2011-05-14action editor was setting wrong rna type on Ctrl+RMBCampbell Barton
2011-05-14Fix #27390: Shift for activating Smooth Brush broken in sculptSergey Sharybin
Smooth brushes at requires face map which haven't used to be created for simple meshes (without modifiers). Use corrected need_fmap flag at stroke initialization, so face map is created properly for "temporary" smooth brushes and simple meshes.
2011-05-14fix for view dolly not working with auto-depth & zoom to mouse location when ↵Campbell Barton
no depth was found.
2011-05-14minor changes to view3d operators, add View3D to 'ViewOpsData'Campbell Barton
2011-05-14object_mat3_to_rot wasn't correctly accounting for the euler delta ↵Campbell Barton
rotations, so setting the matrix of an object would fail in this case (rotational jump).
2011-05-14view3d api edits, no functional changes.Campbell Barton
rename v3d functions * view3d_to_ob -> ED_view3d_to_object * view3d_apply_ob -> ED_view3d_from_object * view3d_apply_mat4 -> ED_view3d_from_m4 Changed ED_view3d_to_object() not to temp modify the view rotation and don't overwrite the objects recalc.
2011-05-13using the viewmatrix to position the camera could be problematic if the view ↵Campbell Barton
wasn't yet recalculated, use the quaternion instead.
2011-05-13rename setcameratoview3d to view3d_to_ob & add to ED_view3d.h so others can use.Campbell Barton
2011-05-13made BLI_edgefill returns the list length since some callers count directly ↵Campbell Barton
after, also remove 2 unused flags from ScFillVert struct.
2011-05-13support for reading/writing image resolution (dpi), for PNG and TIFF,Campbell Barton
only RNA access currently 'image.resolution'.
2011-05-13remove imbuf crect and profile_filename when building without LCMSCampbell Barton
2011-05-13* Enabled rna access to fluid sim velocity vectorsMatt Ebb
The main purpose for this is to allow rendering motion blurred blender fluids in external renderers (eg. http://vimeo.com/21870635 ). Python code snippet for interpreting this data here: http://www.pasteall.org/21577 . Cleaned up some ugly hacks in this area too * Also added read-only access to scene.subframe to RNA - setting current frame and subframe should still go via scene.frame_set()
2011-05-12Fix #27359: Pasting long text crashes blenderSergey Sharybin
Actual problem was caused by insufficient buffer size in ui_text_leftclip() Also fixed possible invalid memory write in GHOST_SystemWin32::getClipboard which was caused by accessing clipboard buffer after closing clipboard. This mustn't happen. Also fixed possible crush when buffer was failed to be locked.
2011-05-12for bug [#27358] Transform bug when transform > 500Campbell Barton
mouse coords would with cont. grab would wrap at short. use mouse coords as int rather then short. this problem still happens on linux because of XTranslateCoordinates
2011-05-12Bugfix #27181Ton Roosendaal
2D view panning and zooming is now fully keymappable, you can set a keyboard key to it too (hold key -> move mouse -> release key).
2011-05-12window_to_3d_vector was incorrect but dolly view operator was accounting for ↵Campbell Barton
it. fixed so result isnt negated and mouse coords dont need to be adjusted.
2011-05-12== Radial control ==Nicholas Bishop
Patch to make the radial control more generic with RNA. Patch was reviewed here: http://codereview.appspot.com/4280080/ Prior to this update, the radial control code in trunk had generic parts of the radial control implemented as an incomplete operator within WM. Then each different user of the radial control had to implement a separate operator to actually pass in specific brush data -- e.g. sculpt's brush size, vpaint's brush size, etc. This patch removes all the extra operators and makes the WM operator do everything. It now takes several RNA path strings as its properties -- the only required property is data_path, which specifies the data to be modified by the radial control. The other paths affect display in various ways, e.g. rotation, color, etc. In addition to decreasing some duplicate paint brush code, these updates make it pretty easy to enable radial control for other purposes (and it can be set up entirely though python or keymaps, no extra C code needed.)
2011-05-122.5 Smoke UI:Thomas Dinges
* More generic tooltip for "strength" property as it can be FFT as well. Discovered by tobkum in IRC. :)
2011-05-11Code cleanup: remove readblenfile module, only contained some utility functionsBrecht Van Lommel
to read .blend files from runtimes, folded those into blenloader.
2011-05-11recent camera border drawing glitch fix needs to be applied to the top right ↵Campbell Barton
sides too.
2011-05-11fix for glitch with drawing the 2d camera border over the 3d camera.Campbell Barton
seems arbitrary and may be driver specific, but this value is in the middle of what works well on mesa software GL & my nvidia.
2011-05-10Bugfix #27305Ton Roosendaal
RGB color node supports to set alpha too but never put alpha in the output. Report + fix provided by Dani G. Thanks!
2011-05-10Bugfix #27311Ton Roosendaal
Physics Gravity property now has UI range of 0-25, but real range goes to 10000 to allow scaled scenes.
2011-05-10remove some duplicate declarationsCampbell Barton
2011-05-10Fix #27217: Bézier control points moves bizarreSergey Sharybin
Re-calculate handles after applying transform matrix on curve object This commit is'n fixing changing of curve shape whe nyou're deforming it (as it was intially reported) but just adds needed handles recalculation. Handles are calculated correct in that "unneded deformed" curve.
2011-05-10minor cleanup: make functions static, use NULL for pointer comparisons,Campbell Barton
also fixed a possible bug assigning incorrect DPX function types to imbuf.
2011-05-10Typo in composition guidesDaniel Salazar
2011-05-10entering non utf8 text in filepaths in the file selector would get ↵Campbell Barton
incorrectly stripped.
2011-05-10camera composition guides: center, thirds, golden rule Campbell Barton
2011-05-10Fix #27346: When The FONT object is blank, the dimensions are calculated wong.Sergey Sharybin
This commit fixes boundbox for empty curve-typed objects. Because of strange reason (-1,-1,-1) and (1,1,1) was used as boundbox. Now it uses zero-sized boundbox (as it's done for meshes). This commit makes nothig with that single space character text from the report.
2011-05-09patch [#21740] Image support for Empty ObjectsCampbell Barton
from Andy Braham (andybraham) This adds support for empties to reference images and draw in the 3D view. Modifications from the original patch. - use an empty draw 'image' type - use image aspect ratio for non-square-pixels - when the image is not found, still draw the frame.
2011-05-09minor cleanup, no functional changes.Campbell Barton
2011-05-09Recreate mipmaps after undo in image editorSergey Sharybin
2011-05-09Fix for memory leak caused by re-making mipmapsSergey Sharybin
Problem was caused by different limits for "last" mipmap: it was 1x1 for mkaing mipmaps and 2x2 for re-making. 2x2 should be enough for mipmap.
2011-05-09Code cleanup: warning fixes.Brecht Van Lommel
2011-05-09Code cleanup: remove unused image window code, already implemented elsewhere.Brecht Van Lommel
2011-05-09Bug fix own collection:Sergey Sharybin
- Recreate mipmaps if they're dirty when drawing background image (this prevents "delayed" update of background image when you're paiting on it in image editor). - Mark mipmaps as dirty when inverting image channels. TODO: there's memory leak caused by IMB_remakemipmap, but it'll be anuther bugfix commit after discussion with other devs.
2011-05-08fix [#27324] WindowManager.invoke_search_popup() crashes blender and does ↵Campbell Barton
not work also minor formatting fixes.
2011-05-08comment some unused code.Campbell Barton
2011-05-08Apply second half of [#21590] .dds textures: fix for DXT1n format + sync ↵Nathan Letwory
with upstream nvtt submitted by Amorilia This updates the DDS module with upstearm nvtt (r1042).
2011-05-08Fixes for bugs noticed during previous fix:Joshua Leung
- In Drivers mode of Graph Editor, expanders for sub-object data were not working at all. This was because they were getting overriden by an errant ob-level drivers check - Adding drivers from py-api didn't update Graph Editor
2011-05-08RNA Bugfix:Joshua Leung
The following script would fail: #ob = bpy.context.active_object pb = bpy.context.active_pose_bone pb.bone.driver_add("hide") # <--- exception here The RNA-path function for Bone assumed that when it got called, it's "id_data" (or owner-idblock-pointer) would only be ID_AR (i.e. an armature). However, in the above example, pb.bone has ob as its id_data, resulting in an invalid RNA path getting created. Added check for this case, since it's likely to be common
2011-05-08Apply part of [#21590] .dds textures: fix for DXT1n formatNathan Letwory
Submitted by Amorilia. DXT1 .dds textures with 1-bit alpha channel have their alpha channel imported in Blender. The patch also makes change to contact info for the patch submitter. I left the sync with upstream nvtt for another commit.
2011-05-07Fix #27319: Text editor "Find" does not locate words.Sergey Sharybin
Added new option to find panel of space text which toggles case-esensitive search. Additional changes: - Send NC_TEXT|NA_EDITED when removing markers in find_and_replace modifier this prevents "sticked" markers which disappears on first redraw when search text wasn't found - Do not show "Text wasn't found" error when text to be searched is contained in the end of buffer and it's selected. Replacing/marking used to happen, but this popup message was really annoying for this case. TODO: It's incorrect to use UI_GetThemeColor4ubv from this operator
2011-05-07fix [#27298] Alt + RMB always extends selectionCampbell Barton
2011-05-07Code cleanup: remove source/kernel module, this wasn't really the kernel ofBrecht Van Lommel
anything, only contained a hash map and functions to pass command line args to the game engine. Moved those to container and BlenderRoutines modules.