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-18spelling cleanupCampbell Barton
2012-03-14Switch *nix fileops from calling external commands via system() to posix api ↵Sergey Sharybin
calls which resolves some possible issues with operating files with quotes and backslashes. Also this might resolve (or at least help) resolving compilation error on GNU Hurd platform which will help a lot maintaining Blender for Debian.
2012-03-14Skip hidden elements in PBVH iterator, raycast, and drawing.Nicholas Bishop
2012-03-14Skip hidden elements in PBVH iterator, raycast, and drawing.Nicholas Bishop
2012-03-14mathutils py api:Campbell Barton
Vector.angle_signed(other) for 2D vectors to get the clockwise angle between them. in BLI math its called - angle_signed_v2v2() shorthand for... atan2f((v1[1] * v2[0]) - (v1[0] * v2[1]), dot_v2v2(v1, v2)) also corrects compile error in last commit.
2012-03-13stule cleanup for rct.c and fix for error in last commit.Campbell Barton
2012-03-13workaround [#30480] Knife tool flickerCampbell Barton
the problem was numeric precision when in ortho mode the start/end points for the view vector would be 2000 apart which caused trouble for the intersection test.
2012-03-13style cleanupCampbell Barton
2012-03-13Code cleanup: use explicit PBVH type enum rather than checking for grids or ↵Nicholas Bishop
faces. No functional changes, this is just a bit easier to read I think (and nicer if we add more PBVH types in the future, e.g. for dynamic topology sculpting.)
2012-03-13better fix for [#30529], find the right axis rather then checking for folded ↵Campbell Barton
quads.
2012-03-13fix [#30529] BMesh: Wrong Indizes of FacesCampbell Barton
problem was bow-tie quads would add opposite normals together and result in zero vector which was used for projection. Now is_quad_convex_v3() checks if quad contains 2 faces which point away from eachother when split by either direction. Theres another fix for this bug which can be done since creating the face can use existing edges in the example given so it wont have to guess which order of verts to use.
2012-03-12Removing SWAP macro define from BLI_heap.c, already present in ↵Bastien Montagne
BLI_utildefines.h, giving compile error.
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-12text delimiter - convert to unicode before comparing characters.Campbell Barton
2012-03-12style cleanupCampbell Barton
2012-03-11style cleanup, also remove unused externs.Campbell Barton
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-10style cleanupCampbell Barton
2012-03-09style cleanup: comment blocksCampbell Barton
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-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
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-08style cleanup: pep8 + picky editsCampbell Barton
2012-03-08style cleanup - spelling.Campbell Barton
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 - braces & else / if'sCampbell Barton
2012-03-07Code cleanup: use typedefs for DerivedMesh drawing callbacks.Nicholas Bishop
There are still fairly bewildering set of callbacks being tossed around, but it's at least a little less verbose now.
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-03-06Fix incorrect null parameter in PBVH drawingNicholas Bishop
2012-03-06Draw individual face's material and shading correctly in the PBVH.Nicholas Bishop
Previously, the shading and material was set once per PBVHNode when drawing. This is still the case, but PBVHNodes are now built to contain only one material and shading mode. This is done with an extra partitioning step; once the number of primitives in the node falls below the PBVH leaf limit, it's primitives are checked for matching materials. If more than one material or shading mode is present in the node, it is split and partitioned (partitioned by material rather than 3D location.) Given a sufficiently 'annoying' input, like a dense mesh with thousands of materials randomly scattered across it, this could greatly increase PBVH build time (since nodes might end up containing a single primitive), but in general this shouldn't come up. In order to support materials for grids, the CCGDM is building another grid array (of DMFaceMat structs). This could be used to replace CCGDM.faceFlag for some small memory savings (TODO).
2012-03-06Code cleanup: factor out some common code from PBVH build_sub/build_leaf.Nicholas Bishop
2012-03-06Code cleanup: add comments for build_sub() and remove debug function.Nicholas Bishop
Remove the function (and call to) check_partitioning(), this was just a debug function.
2012-03-06Code cleanup: split PBVH build_sub() into two functions.Nicholas Bishop
Removes also a confusing else{} block that didn't make much sense.
2012-03-04style cleanup - comment spelling + translate some dutch.Campbell Barton
2012-03-04bmesh py apiCampbell Barton
* add BLI_rfindlink for reverse index lookup (used so bm.select_history[-1] doesn't have to loop the entire list twice). * add bm.select_history.active so you can get the last selected item or None without having to check seq length.
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-02style cleanup for mempoolCampbell Barton
2012-03-02Code Cleanup: update to mempool, use flag rather then bool args.Campbell Barton
2012-03-01Spelling CleanupCampbell Barton
2012-02-29add an assert for inserting an egde with the same vertices and a BMESH_TODO ↵Campbell Barton
for bevel.
2012-02-29Code Cleanup: remove non existing function declarations.Campbell Barton
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
2012-02-29Add blenlib function to initialize vectors from a single float.Nicholas Bishop
The new functions are copy_v2_fl, copy_v3_fl, and copy_v4_fl.
2012-02-28code cleanup: use float vector size in function definitions, and const's ↵Campbell Barton
where the values are unchanged.
2012-02-28move bmesh wiki docs into bmesh header and update doxygen.Campbell Barton
also have doxygen ignore *.py files and fix some warnings.
2012-02-27Few files had got +x mode which seems to be totally unnecessary.Sergey Sharybin
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2012-02-26fix for build error with non debug builds from last commit.Campbell Barton