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
path: root/source
AgeCommit message (Collapse)Author
2012-03-12Fix msvc compilation errors. (__func__ undeclared)Miika Hamalainen
2012-03-12code cleanup/bugfix uninitialized valuesCampbell Barton
- edgebisect bmesh operator used uninialized beauty field. - BLI_join_dirfile could read from before the string bounds when passed an empty dir string. - pransform could use an uninitialized projected coordinate (unlikely but possible) - RNA_property_path_from_ID_check would compare against an uninitialized pointer when the path wasn't found. also have bmesh walker use BM_edge_other_vert() utility function.
2012-03-12style cleanup: line length - some over 300 long.Campbell Barton
2012-03-12text delimiter - convert to unicode before comparing characters.Campbell Barton
2012-03-12style cleanupCampbell Barton
2012-03-12bmesh: edge loop selectCampbell Barton
add support for loop selecting boundry edges only - handy for loop selecting the side of an ngon.
2012-03-12Fix edge loop selection. Now boundary selection checks only for filled edges ↵Antony Riakiotakis
to determine when to stop and stops at vertices shared by only 2 edges.
2012-03-11remove Object member from BMesh struct - was only used for undo and ↵Campbell Barton
BMEditMesh already stores an object pointer. also fix for own mistake with mesh conversion refactor, shape key index was off by 1 when switching editmode.
2012-03-11style cleanup, also remove unused externs.Campbell Barton
2012-03-11improve confusing macro GET_ACF_FLAG_PTRCampbell Barton
- was operating on `type` which wasnt an argument to the macro. - was calling return within the macro (makes code harder to follow).
2012-03-11[#30503] Callback for render job completionCampbell Barton
from Jason van Gumster (thefallenweeble) adds render_complete and render_cancel callbacks to bpy.app.handlers
2012-03-11fix for debug assignment left in from own commit r44778Campbell Barton
also removed private face normal update functions - they were same as public.
2012-03-11bmesh python api additions:Campbell Barton
- BMesh.is_wrapped - BMesh.copy() - BMesh.clear() - BMesh.free() - BMesh.from_object(obj, apply_modifiers=True) - BMEdge.calc_length() - BMLoop.calc_normal() - BMLoop.calc_tangent()
2012-03-11bmesh py api - correct class references in docs and rename mesh conversion ↵Campbell Barton
funcs to ne less confusing.
2012-03-11bmesh py api: change .from_mesh() / .to_mesh() to be class methods of BMesh ↵Campbell Barton
rather than functions in the module. added example script which converts a mesh to a bmesh, edits and converts back again.
2012-03-11code cleanup: remove unused externs.Campbell Barton
2012-03-11style cleanup: + some warning fixes, also remove unused metaelem extern.Campbell Barton
2012-03-11[#30373] Which part to snap in volume snapping is removedMartin Poirier
By Bug reported by Pep Ribal Also fixed an object mode bug with volume snapping and made it compatible with the edit mode "Snap on self" option
2012-03-11bmesh:Campbell Barton
- moved mesh conversion functions into their own file. bmesh py api: - can now create a new empty bmesh without first creating mesh data. - added function to copy bmesh data back to a mesh. - bmesh.from_mesh() can now get a mesh which isnt in editmode.
2012-03-112.6 UI:Thomas Dinges
World Context: * Made world id block wider * Don't show texture user when Cycles engine is used Other: * Change Dopesheet > DopeSheet in User Preferences Theme section for consistency.
2012-03-10patch [#30511] Save/load window state (allows Blender to start maximised)Campbell Barton
from Tom Edwards (artfunkel) This patch fixes bug [#20791]
2012-03-10Remove remained part of debug code.Sergey Sharybin
2012-03-10Forgot to remove code used for debuggning in previous commit.Sergey Sharybin
2012-03-10Finally 2D stabilization auto scale factor should be calculated perfectlySergey Sharybin
2012-03-10fix for own error in recent commit with UV texture layers. - was shadowing ↵Campbell Barton
variable so assignment failed.
2012-03-10style cleanupCampbell Barton
2012-03-10style cleanup: unit codeCampbell Barton
2012-03-10Fix an infinite loop in get_levels_from_disps().Nicholas Bishop
This is called when adding a multiries modifier. BMesh MDisps have only one loop's displacements rather than a full face's, so don't multiply by number of corners here.
2012-03-10style cleanup: fly mode.Campbell Barton
2012-03-10fix [#30500] Mesh.tessface_uv_textures or Mesh.tessface_vertex_colors crash ↵Campbell Barton
on access in editmode just missing NULL checks on face data.
2012-03-10Remove the OBJECT_OT_test_multires operator.Nicholas Bishop
Originated in r35213, appears to have been some test for multires in BMesh.
2012-03-10change fly mode behavior to address issue raised in [#30508] - there being ↵Campbell Barton
no way to pause. now when reversing direction immediately - fly mode translation will pause until pressed again.
2012-03-10Speedup for ngon normal calculationCampbell Barton
- BM_mesh_normals_update was looping over all faces to find the largest one, this is no longer needed. - calculating a face normal was looping over every faces corners twice, now only once - using the loops directly (not an iterator). - face vert locations were being copied an array, now use directly. - calculating the normals would copy a float vector for the next point in the face, which was never used (only current and previous used). - was copying vectors to compute the normal, now just assign the float pointers.
2012-03-10Revert changes BMesh changes MDisp loading in readfile.cNicholas Bishop
These changes originated in r35321, which transfered MDisps to a different memory allocator; this is no long used, however, so post-merge it was just making an identical copy.
2012-03-10picky changes to mouse cursor text selection behavior, previously as soon as ↵Campbell Barton
the mouse was before a character it would select the previous, even if the cursor was closer to the space between the next 2 chars. now find the closest point inbetween both chars.
2012-03-10disable object outline draw when painting (its distracting), also fix for ↵Campbell Barton
own recent mistake in vgroup_blend(). - had bad check for editmesh.
2012-03-10code cleanup: remove unused variable assignents and added bmesh submodule ↵Campbell Barton
links, doc correction reported by dfelinto.
2012-03-10bmesh fix: faces were being created flipped the wrong way compared to ↵Campbell Barton
surrounding geometry. also the last edge was mot taken into account when calculating the correct winding.
2012-03-09style cleanup: consistent names for header guards.Campbell Barton
2012-03-09Fix makesdna error due to poor comment parsing, should be fixed in makesdnaBrecht Van Lommel
ideally but for now just tweak code in case it causes issues. ERROR: still 1 structs unknown *** Unknown structs: bSound
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-09Previous fix for stabilization autoscale actually broke stabilizaiton itselfSergey Sharybin
(median point was sliding a bit from it's original position) This happens because of how transformation for stabilization calculates: image is scaling around it's center, so image translation should be recalculated after scale was changed, but scale also depends on translation. That's where tricky things happens. It's still not ideal for case of rotation, but before fixing this issue better to figure out usecase and see if it's indeed so needed to scale around image center (it might only be helpful to use stabilization parameters in compositor nodes).
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-09Optimize index buffers for multires drawing in sculpt mode.Nicholas Bishop
All multires grids have exactly the same ordering, so rather than allocate a new index buffer for each PBVH node, just allocate one that can be reused for every grid. This requires more draw calls (one per grid rather than one per PBVH node), but less graphics memory.
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).