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-03-09style cleanup: comment blocksCampbell Barton
2012-03-09DO not increment image user counter on view3d duplicate and not decrementSergey Sharybin
it's user count on free. That's how other spaces handles ID block (like image editor, space clip). This fixes issue when loading file without loading UI when current layout has got background images set. Also this hopefully will fix issue #30429: Background Images Lost on Save/Close/Reload
2012-03-09Markers Tweak for SequencerJoshua Leung
Applied the keymaps hack which is used for other animation editors to allow markers to be added and renamed anywhere from within the sequencer strips region, instead of just when the cursor is over the scrollbar. Other operations where the hotkeys conflict though (delete, move) can still be done only from the scrollbar, or better still, from the Timeline.
2012-03-09Node socket selection feature reimplemented from 2.49. Sockets can be ↵Lukas Toenne
selected as a sub-selection of nodes and are then preferred by the auto-connect operator. This makes it easier to create precise links over long distances as an alternative to the click & hold operator. Socket selection is indicated by a simple white highlight circle. Multiple inputs can be selected by holding SHIFTKEY (just like regular node select). Only one output socket can be selected at a time for each node, but several outputs in different nodes are allowed. The auto-connect operator will prefer selected sockets on nodes for creating links. If either the output or input side have no selected sockets it will fall back to the previous behavior of chosing 'best' sockets first (colors, then vectors, then values). This could be improved in the future, but is out of scope here.
2012-03-09Some fixes for 2D stabilization:Sergey Sharybin
- Ron aspect ratio correction after applying location There're still some annoynments with rotation stabilization with pixel aspect != 1, will be fixed later. - Joining tracks will update track used for rotation stabilization/
2012-03-09code cleanup: replace macros VECCOPY, VECADD, VECSUB, INPR - with BLI_math ↵Campbell Barton
funcs. added copy float/double funcs: copy_v3fl_v3db(), copy_v3db_v3fl(). 2d & 4d too.
2012-03-09some code cleanup for rip tool.Campbell Barton
2012-03-09BMesh: rewrite edge split code (used by edge split modifier and rip tool)Campbell Barton
this fixes but [#30461] where the same vertex was added to some faces twice. Previous code rebuilt all faces around the split edges, replace this with much simpler code that uses existing bmesh API for splitting. This also gives a performance boost to the modifier (over 30x faster in the bug-report file).
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-09bmesh py api, new functions:Campbell Barton
* bmesh.utils.face_vert_rip(f, v) * bmesh.utils.loop_rip(l)
2012-03-08Cycles: support for environment texture "Mirror Ball" projection mode, next toBrecht Van Lommel
existing "Equirectangular". This projection is useful to create light probes from a chrome ball placed in a real scene. It expects as input a photograph of the chrome ball, cropped so the ball just fits inside the image boundaries. Example setup with panorama camera and mixing two (poor quality) photographs from different viewpoints to avoid stretching and hide the photographer: http://www.pasteall.org/pic/28036
2012-03-08Fix for Francesco Siddi: ALT+A should always start with the scene start frame!Ton Roosendaal
2012-03-08New operators for clip editor's curve view:Sergey Sharybin
- Select All operator for selecting markers - Disable selected markers operator
2012-03-08- Clip draw as scene strip background works fine againSergey Sharybin
- Path cleanup performed from curve view now clears only active track instead of all selected tracks.
2012-03-08Fixing several issues with keyingsets:Bastien Montagne
*Add a new idname to keyingsets, keeping name as label-only (using same string for both made lookup fail when using i18n other than english, as it tried to compare an untranslated static string id against a translated RNA name). Also adding a description string (can be helpful with custom keyingsets, imho). *Fixed a few other bugs related to that area (namely, you can’t deselect current keyingset from the shift-ctrl-alt-I popup menu, and insert/delete key ops were using a rather strange way to get chosen custom keyingset…). *Fixed UI code so that it always uses (RNA) enum, and simplified menu-creation code.
2012-03-08Fix #30489: Loop Cut by Typing Numbers Is Limited to 32?Sergey Sharybin
Increase numbering input of number of loop cuts to 130 as it was in 2.49. Also display count of cuts in a header.
2012-03-08Modified behaviour of the link-insertion operator (drag on link, request by ↵Lukas Toenne
Sebastian Koenig). This would previously attempt to find a socket with exactly matching type to the from/to sockets of the cut link, but this is annoying because it often links to the "secondary" sockets, such as Factor input in the Mix node. New behaviour is to choose the input/output for reconnection based on the "highest" (= most important) socket types (in order color, vector, value), like the autoconnect operator (FKEY) also does. It is far from ideal and will probably not work in all situations either, but until we have a detailed design for "best sockets to auto-link" this will have to do.
2012-03-08Fix ##30455: Orthographic grid alignment jumps/shifts when zoomingSergey Sharybin
Issue was caused by precision errors with floats. Made internal grid drawing stuff using doubles and also added some functions to multiply double vector by float matrix which also makes all intermediate calculation in doubles.
2012-03-08Knifetool: change ESC to mean cancel, not confirm.Howard Trickey
This corresponds to the more usual convention. There was no key connected to Cancel, and we already have Return, Numpad-Return, and Right-click for confirm.
2012-03-08Partial Bugfix [#30097] : Current frame indicator on Motion Paths drawnJoshua Leung
incorrectly When the current frame occurs outside the current visible range a given motion path, the point lookup was seeking past the ends of the path's point cache, causing sporadic flickering of current frame indicator at 0,0,0.
2012-03-08Code cleanup: use named values for options in DerivedMesh drawing.Nicholas Bishop
The DMSetDrawOptions[Tex] callbacks return 0 (skip), 1 (draw), or 2 (either stipple or skip mcols.) In the CDDM, EDDM, and CCGDM draw functions, as well as the callbacks in drawmesh/drawobject, replace these numbers with values from an enum, DMDrawOptions.
2012-03-08style cleanup: pep8 + picky editsCampbell Barton
2012-03-08code cleanup: duplicate checks and double assignments.Campbell Barton
2012-03-08style cleanup - spelling.Campbell Barton
2012-03-08building without python works again, cleanup bmesh include paths (cmake and ↵Campbell Barton
scons).
2012-03-08Many vertex group functions assumed mesh object when lattices could be ↵Campbell Barton
operated on too.
2012-03-08fixCampbell Barton
- access to a meshs editmesh before the pointer was checked to be a mesh. - uninitialized memory use in transform (not a problem practically but nice to quiet the error in valgrind).
2012-03-08fix for 2 crashes from missing NULL checks.Campbell Barton
2012-03-07change camera zoom from short to float.Campbell Barton
2012-03-07Fix for opengl render setting current frame to 0 after finish rendering.Sergey Sharybin
2012-03-07fix for error in r44711, needed to update sequencer callback.Campbell Barton
also quiet some warnings.
2012-03-07Another mango request: Ctrl-MMB zoom in camera viewSergey Sharybin
It makes it much easier to zoom in camera view using the tablet.
2012-03-07Mango request: use active scene clip as background for sequencer scene strip ↵Sergey Sharybin
renderer and opengl renerer when rendering from camera view. Other usages of offscreen drawing shouldn't be affected by this change.
2012-03-07patch [#30481] rna_Screen_scene_set does the wrong thing [patch]Campbell Barton
from Dan Eicher (dna) --- from the tracker Setting Screen.scene only uses the active screen through a call to CTX_wm_screen(C) instead of the actual referenced scene. The attached py-op demonstrates this behavior, assuming at least two separate scenes in the VSE.
2012-03-07edit to cursor adjustment, use int rather then short to store the cursor ↵Campbell Barton
position.
2012-03-07Unify string stepping delimiter code for text buttons, text editor and ↵Campbell Barton
console (all had duplicate code). this is also a step toward the console working with utf8 though many todo's remain.
2012-03-07style cleanup: picky editsCampbell Barton
2012-03-07Knifetool uses direct cutting instead of scanfill: fixes bugs 29908, 28963, ↵Howard Trickey
30333. Knifetool accumulates a bunch of proposed cuts and when the user confirms, it makes them all. The old code did this by using scanfill to triangulate the cutting edges in their faces, and then merging triangles where possible. This sometimes ended up with strange lost faces, and also made it so that when holes were cut, the surrounding face ended up totally triangulated. But 29908 was an example of a lost face. This new code directly finds chains of cutting edges that go from one side of a face to the other and using BM_edge_split_n to make the cuts. Holes are handled by finding two good places where the hole can be connected to the containing face (using two because I think some other code in bmesh assumes that there are no edges that appear twice in a face). The old code is still there with #if SCANFILL_CUTS, so can easily revert if this proves to be a bad idea. Also, a small fix to previously added BM_split_n (forgot to copy face attributes to new face).
2012-03-07tweak text delimiters for button ctrl + left/right, ctrl+backspace/delCampbell Barton
now theres always a single step before skipping delimiters, this means the skipping actions always advance by more then 1 char (which matches the text editor).
2012-03-07Code cleanup: simplify the DerivedMesh.drawMappedFaces interface.Nicholas Bishop
This function pointer's 'setDrawOptions' parameter took a slightly different type than the other drawing callbacks. In particular, it could set a 'drawSmooth' value to indicate that smoothing should always be enabled, overriding the face flag. However, all callbacks either did not set this value, or set it unconditionally to 1. Replaced this by adding a new 'flag' parameter to drawFacesMapped, which can be set to DM_DRAW_ALWAYS_SMOOTH where appropriate. Also removed the 'useColors' parameter and replaced it with another flag value, DM_DRAW_USE_COLORS. Removed the 'wpaint__setSolidDrawOptions' callback, was only being used to set the shading to smooth.
2012-03-07Patch [#30476] small 3 line patch to add the option 'NOT EQUAL TO' to the ↵Michael Fox
select faces by number of vertices operator "This patch adds "Not Equal To" to the list of options for selecting faces based on the number of vertices. While the equivalent can indeed be achieved by using "Equal To" and invert selection, having this option allows for a smoother work-flow when adjusting the number of vertices to be compared."
2012-03-07style cleanup - braces & else / if'sCampbell Barton
2012-03-07use a better method if picking the rip vertex to use, rather then finding ↵Campbell Barton
the edge closest to the mouse, find the face corner attached to the vert - thats closest to the mouse, this way ripping gives predictable outcome.
2012-03-07revert own commit r44684 it broke edges with one vertex on a boundryCampbell Barton
2012-03-07single vertex rip wasn't finishing with the best vertex selected.Campbell Barton
2012-03-07minor improvement to Rip tool side calculation, measure distance to the edge ↵Campbell Barton
line segment rather then midpoint.
2012-03-07fix for bug in ED_view3d_project_float that only effected the 'Rip' tool.Campbell Barton
when the source and destination vectors were the same pointer, the X value would get overwritten. now the rip tool uses the best side to grab as in trunk.
2012-03-07- simplify rip code not to expand/contract selection.Campbell Barton
- disable BVH edge visibility test (ifdef'd out. dont think its really needed)
2012-03-07Fix textured-mode drawing in editmode.Nicholas Bishop
It's currently not respecting the material color, probably since the BMesh merge. There are a couple problems, both involving "dummy" variables taking the place of actual MTFace/MCol data. Code review: http://codereview.appspot.com/5753050/
2012-03-06fix for own error in edge-rotate keeping edge customdata - this was crashing ↵Campbell Barton
when rotating multiple edges. Now create the rotate edge in advance and copy its customdata (before joining the faces). This commit also fixes an annoyance where tryangulating faces could create duplicate edges.