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-10-14Merged revisions 60248-60717 from trunk/blendersoc-2013-bgeDaniel Stokes
2013-09-30more fixes relating to [#36878], freestyle was only checking for NULL ↵Campbell Barton
linestyles in some places.
2013-09-24Fix #36793: missing update on undo with proxy object that is not using a ↵Brecht Van Lommel
proxy group.
2013-09-21Fixing a crash that occurred when duplicating an object with no levels of ↵Daniel Stokes
detail.
2013-09-21Merged revision(s) 59972-60247 from trunk/blenderDaniel Stokes
2013-09-14Moving some code out of rna_object.c to object.c for updating the level of ↵Daniel Stokes
detail distance.
2013-09-14Simplifying the usage of BKE_object_lod_meshob_get and ↵Daniel Stokes
BKE_object_lod_matob_get, and cleaning up the code lod code in object.c. The level of detail data now uses a bitfield for flags such as use_mesh and use_mat. The few files out there currently using levels of detail will need to renable those options.
2013-09-14Removing the need to have a LodLevel for every object by adding a few checks ↵Daniel Stokes
for special cases.
2013-09-14Rewriting copy_object_lod to use BLI_duplicatelist.Daniel Stokes
2013-09-14Renaming BKE_object_lod_check to BKE_object_lod_is_usable to make what is ↵Daniel Stokes
being checked more clear.
2013-09-12code cleanup: unnecessary shadowing and some minor pep8 edits.Campbell Barton
2013-09-10Merged revisions 58706-59971 from trunk/blenderDaniel Stokes
2013-09-09Enable vertex snapping to bundle positionsSergey Sharybin
This means it's possible now to snap stuff to reconstructed tracks positions.
2013-09-02fix odd (intentional) behavior with vertex parent,Campbell Barton
curve children of a triangle vertex parent would only display their relationship line to the first vertex. (confusing) also added OB_TYPE_SUPPORT_PARVERT macro.
2013-09-02support for vertex parenting in object mode for object types which support ↵Campbell Barton
it (mesh, lattice, curve, surface) previously this had to be done one by one. both single and triagle vertex parents can be made, selected based on distance to the verts. Developer notes: - looks like this was old TODO, enums existed but weren't used. - only meshes currently support using. - added BKE_object_as_kdtree(), may come in handy for similar cases.
2013-08-27ghash/bli-listbase edits, rename BLI_ghash_pop -> BLI_ghash_popkey (since it ↵Campbell Barton
takes a key as an arg and isnt popping any element from the hash as you might expect). add BLI_pophead/tail, since getting the first element from a list and removing it is a common task.
2013-08-21Partial revert of recenr cu->disp merge commitSergey Sharybin
That ended up in tricky code trying to mimic depsgraph branch behavior API-wise preserving texspace and bound box calculation compatible with previous releases. So for now bring cu->disp back to the trunk but keep texpsace and boundbox APIs the same as in the branch. This keeps texpsapce and boundbox behavior fully compatible with previous releases and still makes API the same as for meshes.
2013-08-19Tag object-data level boundbox as invalid rather than freeing itSergey Sharybin
Object update used to free object-data level bounding box to trigger it's re-calculation in the future. Such a freeing performed from object update isn't thread-safe because mesh could be shared between multiple objects. Rather than freeing bounding box, tag it's as invalid, this is safe from threading point of view and also prevents unnecessary memory re-allocation. Object-level bounding box is still reallocating, but think we could change this easily in the future as well. -- svn merge -r58154:58156 -r59258:59259 ^/branches/soc-2013-depsgraph_mt
2013-08-19Move bevel list and path from Curve to Object datablockSergey Sharybin
I know this is not so much nice to have this guys hanging around in a general Object datablock and ideally they better be wrapped around into a structure like DerivedMesh or something like this. But this is pure runtime only stuff and we could re-wrap them around later. Main purpose of this is making curves more thread safe, so no separate threads will ever start freeing the same path or the same bevel list. It also makes sense because path and bevel shall include deformation coming from modifiers which are applying on pre-tesselation point and different objects could have different set of modifiers. This used to be really confusing in the past and now data which depends on object is stored in an object, making things clear for understanding even. This doesn't make curve code fully thread-safe due to pre-tesselation modifiers still modifies actual nurbs and lock is still needed in makeDispListsCurveTypes, but this change makes usage of paths safe for threading. Once modifiers will stop modifying actual nurbs, curves will be fully safe for threading. Actually, this commit also contains wrapping runtime curve members into own structure This allows easier assignment on file loading, keeps curve- specific runtime data grouped and saves couple of bytes in Object for non-curve types. -- svn merge -r57938:57939 ^/branches/soc-2013-depsgraph_mt svn merge -r57957:57958^/branches/soc-2013-depsgraph_mt
2013-08-19Made modifiers_getVirtualModifierList safe for threadingSergey Sharybin
Move static variables to context filling in by this fcuntion and owned by a callee function. This ensures no conflicts between threads happens because of static variables used in this function. Also moved modifier types and virtual modifiers data to a function called from creator. This is needed to be sure all the information is properly initialied to the time when threads starts to use this data. -- svn merge -r57899:57900 ^/branches/soc-2013-depsgraph_mt
2013-08-13change VIEW3D_OT_camera_to_view_selected poll function so it can be called ↵Campbell Barton
from a script (without a view3d).
2013-08-06replace mul_serie_m4 with mul_m4_m4m4 when only 3 args are givenCampbell Barton
2013-08-03fix for [#36260] 2,300 Objects Makes Blender UnresponsiveSv. Lockal
- performance of outliner was low because of unoptimal data structures. - now it uses BLI_mempool instead of custom mempool and GHash to make searches for duplicates faster. - also fix undesired behaviour of BLI_mempool_as_arrayN thanks to Campbell Barton and Lukas Tönne for helping me get a better fix put together.
2013-07-31Code cleanup. Removing dead code, adding comments, improving code ↵Daniel Stokes
readability, etc.
2013-07-29Merged revisions 58516-58705 from trunk/blenderDaniel Stokes
2013-07-26fix [#36270] Crash with pinningCampbell Barton
2013-07-23Merged revisions 57983-58515 from trunk/blenderDaniel Stokes
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-19style cleanup: switch statements, include break statements within braces & ↵Campbell Barton
indent. also indent case's within the switch (we already did both of these almost everywhere)
2013-07-19code cleanup: inconsistent 'break' placement in BKE_object_minmaxCampbell Barton
2013-07-13Increasing the default distance between levels of detail from 10 to 25.Daniel Stokes
2013-07-12Moved code for calculating local_matrix to BKE funtion for reuseGaia Clary
2013-07-12Get rid of global originmat matrix from object.cSergey Sharybin
This matrix was used to store the space the object is in, which then was accessed by snapping code. No reason to keep it as a global variable (which isn't safe for threading, unlikely it'll give issues now, but it's easy to avoid issues early here). Now made it so BKE_object_where_is_calc_ex will get an optional parameter originmat and set this matrix in solve_parent. Original patch by self, minor changes by Campbell, thanks!
2013-07-07Reworking the level of detail UI so that the add button is on the bottom and ↵Daniel Stokes
a menu has been added for level of detail tools. So far these tools include a set by name operator that finds appropriately named models in the scene to use for detail levels, and a clear all operator for removing all levels of detail from an object.
2013-07-05Merged revisions 57870-57983 from trunk/blenderDaniel Stokes
2013-07-04Cleaning up the game engine level of detail logic to avoid crashes with ↵Daniel Stokes
levels that have no source object defined.
2013-07-02move api functions from r57909 into BKE.Campbell Barton
2013-07-01Changed BKE_object_lod_update to return a bool indicating if the lod level ↵Daniel Stokes
has changed.
2013-06-29Merged revisions 57538-57869 from trunk/blenderDaniel Stokes
2013-06-28view-selected didnt work for metaballs in object mode (radius from previous ↵Campbell Barton
commit was 2x too large too).
2013-06-28Fix #35808: blender internal viewport with freestyle would keep continuouslyBrecht Van Lommel
rerendering for no reason. Update tags were not being done in the proper Main database.
2013-06-28Duplicate objects no longer share level of detail settings.Daniel Stokes
2013-06-27Fixed a crash that occurred when an object being used as a level of detail ↵Daniel Stokes
was deleted.
2013-06-27Fixing a minor memory leak caused by not freeing the level of detail list ↵Daniel Stokes
when an object is freed.
2013-06-27Removing a level of detail now causes the view to update. Also making sure ↵Daniel Stokes
to free the removed level of detail now.
2013-06-26Fixing a crash that occurred when switching to a level of detail with no ↵Daniel Stokes
object specified.
2013-06-26Material level of detail is now working. Material levels of detail appear in ↵Daniel Stokes
all editing modes (sculpt, edit, etc).
2013-06-26When getting the mesh source object, levels that are not enabled for mesh ↵Daniel Stokes
LoD as well as non-mesh objects are now ignored, and the next appropriate LoD object is found.
2013-06-26Correcting a logic error that caused some levels of details to be skipped ↵Daniel Stokes
when increasing detail.
2013-06-26Basic mesh level of detail is now working in the viewport. It should only ↵Daniel Stokes
display levels of detail if you are in object mode, or the object is not the currently active object.