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
2013-06-03fix [#35555] Collada: export destroys mesh in some casesCampbell Barton
add arguments to calculate normals when converting to bmesh: BM_mesh_bm_from_me, DM_to_bmesh This gives some speedup to undo (which didnt need to re-calculate vertex normals), and array modifier which doesnt need to calculate face normals at all
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-21code cleanup: remove callbacks only added to wrap MEM_freeNCampbell Barton
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-05-20no need to add own define for openmp. Campbell Barton
2013-05-20Cmake / Fluids:Thomas Dinges
* Possible fix for Fluid threads UI not being shown with cmake builds.
2013-05-17code cleanup: use BM_elem_flag_test rather then accessing 'ele->head.hflag'Campbell Barton
2013-05-17bump mathutils callback slot size.Campbell Barton
2013-05-15Fix another cases where painting long brush strokes with small radius was slowedBrecht Van Lommel
down, this time by the operator properties getting converted to a string for display in the info window. With 1000+ stroke points this can get slow, and takes up too much space anyway, so now it's (somewhat arbitrarily) limited to printing only 10 points.
2013-05-14Moved main part of bpy.app.translations doc out of C code, as suggested by ↵Bastien Montagne
Campell, thx.
2013-05-14API doc for bpy.app.translations should look better now.Bastien Montagne
2013-05-14bmesh api: add 'is_boundary' attribute to verts.Campbell Barton
2013-05-11Fix #35289: UV layout export to image was extremely slow for large meshes. ThisBrecht Van Lommel
was due to slow implementation of slice operation for things like mesh uv data. Made that faster now for cases where the internal storage is an array.
2013-05-08use BM_face_create_ngon_verts for python api face creationCampbell Barton
(avoid doing it inline).
2013-05-08rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()Campbell Barton
was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was
2013-05-07expose bmesh volume calculation to python api (use for print toolbox addon).Campbell Barton
2013-05-05correct bmesh api crossref and update uv-operator template.Campbell Barton
2013-05-02A bit more clear error message...Bastien Montagne
2013-05-01remove direct freestyle data access from bmesh, was crashing and this should ↵Campbell Barton
really only be done via customdata layer support.
2013-04-30fix [#35150] Crash when bmesh operation called from within a Panel draw()Campbell Barton
accessing a bmesh from python would reallocate all customdata layers. add an assert to BM_data_layer_free(), when its called unnecessarily since its reallocating all layers.
2013-04-28Fluid UI:Thomas Dinges
* Display Simulation threads only, when built with OpenMP.
2013-04-27real fix for [#35097], (curve cap flipping).Campbell Barton
previous commit was incorrect, the face flipping depended on the orientation of the curve. fix by passing the bevel direction to the fill function so we can have a reliable front/back. This also gives some speedup for all curve filling since we can avoid calculating the normal since its already known.
2013-04-24fix [#34657] Smoothing will not be updated in object mode, when hiding faces ↵Campbell Barton
in edit mode and changing shape. remove the option to skip hidden faces in BM_mesh_normals_update, use openmp to speedup recalculation for high poly meshes.
2013-04-23minor changes to get numpy working with locally bundled python.Campbell Barton
- enable site-packages for bundled python distrobution, py3.2 had a problem where it would try to parse headers we didnt include, but its resolved now. - workaround for glitch I was having on arch-linux where lib64 would be be used for the bundled python directory when it was just a symlink.
2013-04-22Bugfix [#34836] Crash when driver variable has path == 'data'Joshua Leung
Most of the places which relied on RNA_path_resolve() did so believing that if it returned true, that it had found a valid property, and that the returned pointer+property combination would be what the path referred to. However, it turns out that if the property at the end of the path turns out to be a "pointer" property (e.g. "data" for Object.data), this would automatically become the pointer part, while the prop part would be set to null. Hence, if a user accidentally (or otherwise) specifies a path for the single-property driver variable type like this, then Blender would crash. This commit introduces two convenience functions - RNA_path_resolve_property() and RNA_path_resolve_property_full() - which mirror/wrap the existing RNA_path_resolve() functions. The only difference though is that these include a check to ensure that what was found from resolving the path was in fact a property (they only return true iff this is the case), and make it explicitly clear in the name that this is what they will do so that there's no further confusion. It is possible to do without these wrapper functions by doing these checks inline, but the few cases that had been patched already were pretty hideous looking specimens. Using these just make it clearer and simpler for all. I've also beefed up the docs on these a bit, and changed these to using bools.
2013-04-21utility function volume_tetrahedron(), for mathutils and BLI math.Campbell Barton
2013-04-16use psys->seed for smoke random number generator, increase size of ↵Campbell Barton
MATHUTILS_TOT_CB and reduce float->double conversions.
2013-04-15code cleanup: minor BMESH_TODO's, some were left in even though they were ↵Campbell Barton
done/invalid.
2013-04-14correct pyapi function intersect_line_sphere_2d() using 3d vecs when only 2d ↵Campbell Barton
are needed.
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-11Related to #34558: clarify the description for the "default" parameter in ↵Brecht Van Lommel
bpy.props.EnumProperty.
2013-04-11interpolate verts as well as loops for inset.Campbell Barton
- add vertex option to BM_face_interp_from_face, also expose via python.
2013-04-08Fix #34875: 0 digits of precision was not supported for FloatProperty, nowBrecht Van Lommel
you can specify precision=0 for this, and use -1 for the default 2.
2013-04-07Fix for [#34898] Typo in error message of mathutils.VectorThomas Dinges
* Also fixed some more cases of "more then" -> "more than".
2013-04-07freestyle lineset `tag` attribute was defined but not used, also some code ↵Campbell Barton
cleanup.
2013-04-06svn merge ^/trunk/blender -r55815:55840Sergey Sharybin
2013-04-05fix [#34870] bmesh.ops.* parameter lists and descriptions don't show in ↵Campbell Barton
PyConsole on auto-complete more a feature request then a bug but nice to have __doc__ on bmesh operators.
2013-04-05add BM_face_calc_center_mean_weighted() gives much better result at cost of ↵Campbell Barton
some speed.
2013-04-05code cleanup: include orderCampbell Barton
2013-04-05svn merge ^/trunk/blender -r55776:55813Campbell Barton
2013-04-05fix [#34881] Bad characters in error output (PyConsole) if trying to use a ↵Campbell Barton
Bmesh UV Layer on a BMVert
2013-04-05py api additions needed for fixing [#34864].Campbell Barton
- add rna property 'as_bytes' method so you can get a string property as python bytes (bypass encoding). - make bpy.path.abspath/relpath compatible with bytes. - add 'relpath' option to bpy_extras.image_utils.load_image(), so you can load an image relative to a path.
2013-04-04py api, bmeshCampbell Barton
- add BMEdge.calc_face_angle_signed() which gives a negative angle for for concave edges. - add BMEdge.is_convex
2013-04-04svn merge ^/trunk/blender -r55700:55776Campbell Barton
2013-04-03Fix #34856: crash passing an object rather than a mesh to ↵Brecht Van Lommel
bpy.data.mesh.remove(), this should give an error message but it didn't.
2013-03-26Freestyle changes:Sergey Sharybin
- Revert some stylistic changes made in branch They weren't directly related on freestyle project and better be handled in trunk. Helps reading patches ad prevents possible merge conflicts. - Solved issue introduced with recent deprecation of RenderData.maximize,
2013-03-26Merging r55547 through r55594 from trunk into soc-2008-mxcurioniSergey Sharybin
2013-03-26style cleanup:Campbell Barton
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2013-03-25Fix to EnumProperty doc (content of items tuples was rather fuzzy, ways how ↵Bastien Montagne
these "parameters" are interpreted are rather strange, current text should now reflect exactly code's behavior).
2013-03-25code cleanup:Campbell Barton
- remove unused defines. - quiet some shadow warnings. - bevel, ifdef out some asserts that are too common. - style