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
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-08-17Lattice min_max: add a version of the func using lattice's final DispList,Philipp Oeser
and use it for bbox computing. Revision: https://developer.blender.org/D1462
2015-08-17BGE: Fix T45817 Convert curve object in group instance.Porteries Tristan
Now group instance conversion allow unconverted object like curve, meta ball ect…
2015-08-17Subsurf: don't reserve MFace by defaultCampbell Barton
Instead, the cache can be calculated only when its needed (fixes T45787).
2015-08-17Fix T45802: View Lock w/ Curve-Parent failsCampbell Barton
2015-08-17Cleanup: remove unused Object.ipoflagCampbell Barton
2015-08-16Fix T39486, screwed object bevel made bevel amount go out of control.Howard Trickey
There is an adjustment pass in bevel that tries to make the bevel widths at either end of a beveled edge as equal as possible. When there are hundreds of beveled edges end-to-end, these adjustments can accumulate out of control and result looks awful. Yet the adjustment pass is sometimes needed to avoid equally awful appearances in other cases (see the "Bent test" in the bevel regression tests). This change uses the 'Clamp overlap' flag of bevel (on by default in the modifier, not in the tool) to limit the amount of adjustment to within 10% of the desired width. When the flag is off, there is no limit to the adjustment.
2015-08-16Fix T45795, bevel treated one-edge-beveled case inconsistently.Howard Trickey
When one edge is beveled at a vertex among more than 1 other unbeveled edges, the code makes a polygon around the vertex. The position of the vertices on the non-adjacent-to-beveled-edge edges depended on the ordering of edges, which leads to inconsistent-looking results in seeming symmetrical situations. Changed to use the bevel amount as slide distance, which fixes this.
2015-08-16Fix for numpy with nmake and missing directoryChad Fraleigh
When using the nmake generator from cmake, numpy fails to extract during build because the working directory doesn't exist yet. Reviewers: juicyfruit Differential Revision: https://developer.blender.org/D1466
2015-08-16BGE: Fix memory leak and crash with certain physic typesThomas Szepe
Fixing crash if the physic type is set sensor or character. Caused by a790e172d0281e64. Fixing memory leak, if the constraint is deleted with Python API removeConstraint(). Add RemoveConstraint() method to avoid code duplication. Rename old RemoveConstraint() to RemoveConstraintById() which is more suitable name for this method.
2015-08-15Fix T45807: Instant crash adding any modifier to NLA trackJulian Eisel
Caused by rBcbf936a3327282
2015-08-14Cleanup: Avoid calling function twiceJulian Eisel
Own stupidness from rB17422124eca332
2015-08-14Remove redundant workaround for T41548Julian Eisel
Reverts 7a026971dc3f93 which isn't needed anymore after b347f523cececdf
2015-08-14Fix T45750: Closing search menu by clicking root button doesn't work when ↵Julian Eisel
clicking on lower half
2015-08-14Fix T40070, Bevel didn't bend as expected sometimes.Howard Trickey
Two problems fixed. One, the comparison of angles to 'almost straight' or 'almost zero' needed a bigger epsilon. Two, using the corner normal instead of the average face normal is usually the right thing to do, and what the code was doing, but in some cases the corner normal could be very wrong.
2015-08-14Fix dyntopo not warning anymore when vertex colors or uvs are present.Antony Riakiotakis
We check against loop data now, not tessface data
2015-08-14Fix unnecessarily added undo steps when deleting only sceneJulian Eisel
Steps to reproduce were: startup.blend, move any object, delete active scene (nothing happens), undo (nothing happens), second undo is needed to revert object transformation
2015-08-14Remove already-ifdef'ed out PRE_275_ALGORITHM code from bevel.Howard Trickey
The new algorithm has soaked enough that we are unlikely to go back now.
2015-08-14Outliner: Context menu for scenesPhilipp Oeser
Adds context menu for scenes in the outliner, for now, with only a 'Delete' entry. D1448 by @lichtwerk, review by @aligorith and @Severin
2015-08-14Cleanup: styleCampbell Barton
2015-08-14Docs: comment BHead.code valuesCampbell Barton
2015-08-13Add real boundbox support to lattice, and update armature one.Philipp Oeser
* draw lattice boundingboxes in 3dView [if "show_bounds" is used -- an option previously pretty useless for lattices] * give proper values for lattice objects ".bound_box" in bpy * give proper values for armature objects ".bound_box" in bpy * lets users use "Dimensions" [in 3dView Transform panel] on lattices and armatures * remove redundant calculations in "boundbox_armature()" Armatures boundingboxes were already drawn in 3dView, if "show_bounds" was used. Based on report T45735: Lattice's bounding_box doesn't update, and a comment in code by @campbellbarton ("later we may want to add dimensions for lattice, armature etc too"). Revision: https://developer.blender.org/D1460
2015-08-13Fix T45783: Problem selecting all objects on a layer from a script if any 3d ↵Bastien Montagne
view is in local mode. Do not take into account lay bits used for local view, when doing exact match.
2015-08-13Fix T45782: bpy.ops.object.select_by_layer match='SHARED' option is not working.Bastien Montagne
Looks like some half-done change from enum to bool (or vice-versa), that op was just broken!
2015-08-13Fix T45775: Bad 'Normal' transform space for edge of non-uniformed scaled ↵Bastien Montagne
object. Non-uniform scaled obmat will lead to transformation not preserving angles, so we must ensure our normal is orthogonal to the edge **after** applying obmat.
2015-08-12Displace Modifier: add an option to displace along (averaged) custom ↵Bastien Montagne
normals, instead of vertex normals. User suggestion/request from 'boby'.
2015-08-12Fix T45739: Number slider precision handling inconsistent between unit systems.Bastien Montagne
When using unit system, step was multiplied by 100, could really not find any good reason to that. Easy to revert anyway if needed, but in this case please explain why in code. ;) Investigated and patch by Thomas Radeke (ThomasR), thanks.
2015-08-12Fix T44049, edge bevel with sometimes breaks UVs.Howard Trickey
Fairly large changes to bevel code to do a better job of keeping UVs from crossing islands, etc. Updated http://wiki.blender.org/index.php/Dev:2.5/Source/Modeling/Bevel to explain algorithm used for maintaining UVs. Updated the bevel_regression.blend tests in lib tests.
2015-08-12Fix 'hard crash' part of T45768 (when merging all vertices of a mesh, we ↵Bastien Montagne
have no more edges to draw).
2015-08-11Usual UI message cleanup/fixes.Bastien Montagne
2015-08-11BGE: Fix delete constraint for replicated physics controllers.Porteries Tristan
Replicated controllers didn't free constraints list before.
2015-08-11BGE: Fix T38448: Bullet constraint memory leak.Porteries Tristan
2015-08-11Add WM_event_add/remove_timer_notifier() helpers.Bastien Montagne
This basically does the 'timer' part of Jobs system: it sends a given notifier on every timer step. This is needed for background tasks (not full-fledged jobs, lighter BLI_tasks based) that want to update UI (like for up-comming new thumbnail handling in filebrowser).
2015-08-11BGE: Fix T33187 constraints replication for libloaded objects.Porteries Tristan
Reviewers: Moguri
2015-08-10UI drag&drop: make code able to free dragpoin if needed.Bastien Montagne
Only for image and strings for now. Needed for incomming filebrowser work.
2015-08-10Data previews: add utils to generate/clear previews.Bastien Montagne
Not much to add, you can now clear previews from current .blend file, or a set of non-opened files. Likewise, you can generate previews (for mat/tex, objects, groups, scenes, ...).
2015-08-10BGE: Fix T19377 restore dynamics after unparenting object.Porteries Tristan
Reviewers: scorpion81
2015-08-10Data previews: add preview to Object, Group and Scene.Bastien Montagne
This commit does not add anything yet to users, it’s purely internal one. Useful commit is next. ;)
2015-08-10BLI_threads: add an helper to wait on a condition using a global mutex.Bastien Montagne
Also, factorized internal code to get global mutex from its ID.
2015-08-09BGE: Fix T44782 suspend/restore dynamics on inactive object.Porteries Tristan
2015-08-08Optimize reading of fcurvesSergey Sharybin
Reading fcurves wasn't really optimal because restoring fcu->group pointer was changing lasthit pointer, which required full lookup over the oldnewmap happened at the next call to newdatadr(). This reduces loading franck_sheep.blend file from ~2.2sec to 1.5sec.
2015-08-09Fix for SeqCache hash ignoring multi-viewCampbell Barton
Thanks to @chadf for finding
2015-08-09Fix: opening missing file didnt remove in recent-files.txtCampbell Barton
Refactor recent-file.txt handling, split into smaller functions. It wasn't possible to write the current state to disk (depended on current context).
2015-08-08SPeedup for particle point cache readingSergey Sharybin
Order of saving and reading particle point cache was totally different which made newdataadr() falling back to full data block list traversal for every point cache entry. This commit makes it so reading code uses the same order of reading structs and lists ad the writing code. This required to add special version of list linking which is capable of running a callback after linking a list element. This seems to be more robust approach than splitting writing code into several loops.
2015-08-08Fix T45705: Selected to Active Cycles Baking no longer workingDalai Felinto
2015-08-09Use polygon normals for bakingCampbell Barton
2015-08-09Fix crash baking in cyclesCampbell Barton
Error in recent move to looptri
2015-08-08Remove leftover from sticky keysJulian Eisel
2015-08-08Fix T45726: Wrong handling of 'failed to generate' audio waveform data in ↵Bastien Montagne
VSE strip draw code.
2015-08-07Fix T45715: Blender crashes when creating Environment Map textures in ↵Dalai Felinto
Multi-View mode