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-10-10header cleanup (no functional changes)Campbell Barton
2011-10-10move NavMesh draw code out of being a modifier and into DerivedMesh drawing ↵Campbell Barton
hack (which IMHO is less bad then mis-using a modifier only to override drawing calls).
2011-09-20changes for materials to treat them as shorts not int/chars (since they are ↵Campbell Barton
stored as shorts intermally) - converting nurbs to mesh was casting the material to unsigned char. - subsurf was casting to char, then int -> short in a loop. - have material functions take & return shorts.
2011-07-31bugfix [#28111] material.pop breaks mt->mat_nrDalai Felinto
create a new parameter for materials.pop() to not remove material slot. this way the mat_nr is still the old one. for the default behaviour we now have material remapping (i.e. data_delete_material_index_id(id, index)). This new function is brought from the material_slot remove function.
2011-04-26fix [#27178] Material links lost when making mesh data localCampbell Barton
- making local object data - Curve/Mesh/MBall lost references to linked materials. - joining a linked mesh object into a local one lost the link. As well as these reported bugs, checked all local functions for consistency/correctness and found other cases which would also fail. - making local metaball didn't ensure unique ID name. - make_local_armature() was missing check for object users - main body of code would never run. - local particles didn't set the dupli-group or textures to extern. checked all local functions for consistency/correctness.
2011-04-21whitespace only, no functional change mixed tabs/spaces --> tabs.v2.57aCampbell Barton
2011-04-21fix [#27096] Segmentation Fault trying to export DirectX with specific modelCampbell Barton
copying a mesh in editmode didnt NULL the edit_mesh pointer.
2011-04-15correct typoJoseph Eagar
2011-04-04Revert mesh recalculation change that gives different vertex normals basedBrecht Van Lommel
on smooth/flat flag on faces. This does give better results for low poly game models, but there's just too much functionality that depends on this (modifiers, displacey, editmode tools, extrude, ...), that there's not enough time to fix these before the release.
2011-04-01Comments for mesh normals calculation from Mortem Mikkelsen (aka sparky).Sergey Sharybin
We hope it'll help for further workers in this area!
2011-03-28blenkernel: floats were being implicitly promoted to doubles, adjust to use ↵Campbell Barton
floats.
2011-03-28- quiet new warnings with gcc 4.6Campbell Barton
- use BLI math funcs for normal float/short conversion. - correct some un-intentional float/double promotions.
2011-03-26One more fix for recent normals re-calculation changeSergey Sharybin
2011-03-26Fixed memory access in mesh_calc_normals(). Now it uses much less memory.Sergey Sharybin
2011-03-26Fix #26582, #26586, #26613: recent normal calculation changes didn't takeBrecht Van Lommel
into account that some tools use normals for things other than display. Now we properly initialize vertex normals at flat faces too. Also fixed a normal refresh issue, and deduplicated CDDM/mesh normal calculation code.
2011-03-20Fix/change in normal computation, now the viewport uses the same angleBrecht Van Lommel
weighted normals as the render engine, and the render engine will copy normals from the mesh rather than always recalculating them. Subsurf/multires still use regular vertex normals, but they are expected to be sufficiently high resolution to not need this. This means that normal maps displayed in the viewport actually match the render engine exactly and don't have artifacts due to this discrepancy. It of course also avoids unexpected surprises where your render normals look different than your viewport normals. Subversion bumped to 4 for version patch to recalculate normals. Patch by Morten Mikkelsen, with some small changes.
2011-02-27doxygen: blender/blenkernel tagged.Nathan Letwory
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2011-02-11Fix #26040: Crash converting curve to meshSergey Sharybin
Really stupid mistake :)
2011-02-10mesh.validate() now returns True if any corrections were made.Campbell Barton
tested that correcting invalid meshes works by generating random meshes and checking that only the first call to mesh.validate() makes changes. found 2 bugs in mesh validation. - face sorting array wasn't assigned correct indices. - removing invalid edges used wrong comparison.
2011-02-09fix [#25994] Meshes with no vertices gets NaN location on setting origin to ↵Campbell Barton
geometry
2011-02-09BKE_mesh_validate() now corrects invalid meshes (optionally), added access ↵Campbell Barton
for python so it can correct for bad imported geometry - mesh.validate().
2011-02-09fix [#25968] Crash on changing merge distance in array modifier with ↵Campbell Barton
edgesplit modifier in chain
2011-02-09bugfix [#25523] Face extrude will crash Blender if array and subsurf ↵Campbell Barton
modifier are added to mesh object test_index_face() failed to fix indices like (6,0,0,6), making it (0,6,6,0).
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-05Todo item: linked curve objects behaves incorrect with modifiersSergey Sharybin
Use object's displists for storing deformed tesselated curve. Was unable to totally get rid of curve's displist because of how texture space is calculating.
2010-12-05Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now itBrecht Van Lommel
only tags the ID and does the actual flush/update delayed, before the next redraw. For objects the update was already delayed, just flushing wasn't yet. This should help performance in python and animation editors, by making calls to RNA property update quicker. Still need to add calls in a few places where this was previously avoided due to bad performance.
2010-11-17use 'const char *' by default with RNA functions except when the value is ↵Campbell Barton
flagged as PROP_THICK_WRAP. Also use const char in many other parts of blenders code. Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-11-06Fix bug with unneeded outline for filled 2d curves when converted to meshSergey Sharybin
- Revert of my old change in curve->mesh conversion - Do not ignore DL_POLYs for surfaces -- they will never be filled, but ignore them for 2d curves -- they'll be filled with INDEX3 parts.
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-14fix potential crasher: malloc->callocNathan Letwory
2010-09-23bugfix [#22169] LoopCut and Slide plus ArrayModifier Object offset FirstLast ↵Campbell Barton
gives crash
2010-09-22Fix #23925: converting text into a curve looses materialsSergey Sharybin
filldisplist worked incorrect with polys when charidx matched but col doesn't Also fixed material loose when converting text/curve to mesh
2010-09-09== Multires ==Nicholas Bishop
Fixed bug #23657, "Modifiers dosen't work when you select diffrent mesh for object" Multires modifier now adds empty mdisps if they're missing, rather than displaying a warning Switching an object's mesh will now check for a multires modifier; if found the modifier's total number of levels are reset to match the mesh's mdisps Switching the mesh also forces a multires update so that sculpted changes aren't lost
2010-08-15use more BLI math functions.Campbell Barton
2010-08-132.5: more removal of G.main.Brecht Van Lommel
2010-08-03set origin was setting surfaces as 2D curves, added dupli-group support ↵Campbell Barton
using the dupli's offset value.
2010-08-01bugfix'sCampbell Barton
[#23108] bpy.ops.object.origin_set(type='GEOMETRY_ORIGIN') dosen't work in console [#23115] Crash when moving armature origin - setting the armature in editmode would leave editdata in some cases. - transforming selected linked objects to account for the movement of the obdata was only done for meshes, now do for curves and text3d. - added utility functions for getting curve & mesh bounds. - text3d moving center wasn't working at all. - changed drawobject.c to use BLI_math funcs in more places. - remove some unused code from operator object.origin_set.
2010-07-302.5: remove vertex normal flip option, this is more harmful than helpfulBrecht Van Lommel
in many cases, and also gave incorrect rim lighting.
2010-06-23Fix #22654: Converted curve from mesh disappearingSergey Sharybin
Curve object should have ob->bb=NULL if there is no derivedMesh
2010-04-21replace add_v3_v3v3() --> add_v3_v3() where possibleCampbell Barton
2010-04-18remove config.h references, was added for automake build system rev around ↵Campbell Barton
124-126 but isnt used by any build systems now.
2010-04-04Fix #21850: Modifier applied to surface doesnt work when only a curve.Sergey Sharybin
I removed 3D flag checking for DL_POLY displists in nurbs-to-mesh conversion function -- DL_POLY displist should be always converted to edge loop. DL_POLY which should be converted to something else is odd i think. This commit also fixes trouble cyclic surface curve to mesh conversion problem.
2010-03-31trick to give correct normals for cyclic curves used with the screw modifier.Campbell Barton
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-21removed unused includes, except for physics and particle related filesCampbell Barton
2010-03-20merge own commits into render branch into trunk since 27560Campbell Barton
27562, 27570, 27571, 27574, 27576, 27577, 27579, 27590, 27591, 27594, 27595, 27596, 27599, 27605, 27611, 27612, 27613, 27614, 27623
2010-03-14Fix #21594: converting bevel objects to mesh stops displaying them in ↵Sergey Sharybin
spacial cases Mesh's boundbox should be re-calculated after curve->mesh conversion. To avoid troubles with displaying texture space i've used tex_space_mesh() for this.
2010-03-08- Fixed trouble with rendering curves with disabled modifiers, which areSergey Sharybin
disabled for realtime displaying but enabled for rendering. - Calculate tex space for curves before modifiers applying.