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-03-23quiet warningvertex_paint_pbvhCampbell Barton
2015-03-23Merge branch 'master' into vertex_paint_pbvhCampbell Barton
2015-03-23Fix T44093: Color picker SV+H order wrong.Campbell Barton
Based on HSV ordering, SV+H had S<>V swapped.
2015-03-23Allow bg-image rotation for camera viewsCampbell Barton
2015-03-23Cleanup: comments, styleCampbell Barton
2015-03-23Tidy up the user interface for depth of field based on feedback byAntony Riakiotakis
NudelZ on irc, thanks!
2015-03-23Use same rgb -> greyscale for BLI_math as imbufCampbell Barton
2015-03-23Change coefficients to 4 digit precision only.Antony Riakiotakis
Need to match convention and sum up to 1.0 (previous set had a minor 10^(-10) overflow) Thanks to Campbell for taking notice.
2015-03-23Make sure matcap icons are within range.Antony Riakiotakis
Basically out of range could happen when opening files made in 2.72 when the new icons for texture painting were added. Apparently some more caution is needed here.
2015-03-23Mitigate T44035: Proportional editing lagCampbell Barton
Calculating connected data can be slow, it still lags with heavy meshes but perform some optimizations (nearly twice as fast)
2015-03-22Fix wrong sizeof() in new ghash hashing helpers code.Bastien Montagne
Spotted by Coverity.
2015-03-22BGE: New hysteresis offset to improve LOD level transitionsJorge Bernal
This change introduces a new hysteresis parameter that it will be added or subtracted to/from the LOD distance to avoid popping when a LOD object moves close to the LOD transition continuously. Then, we have the following: - a new LOD Hysteresis setting per scene (default 10%) which is located in Scene context --> Level of Detail panel. This scene parameter also will active/deactive the scene hysteresis. - and a new LOD Hysteresis setting per object (default 10%) which is located in Object context --> Levels of Detail panel. The LOD hysteresis setting per object (if active) will overwrite the hysteresis setting per scene value. For the new blends: the hysteresis setting per scene would be active by default and the per object would be inactive by default. For the old blends: both hysteresis settings (per scene and per object) would be inactive by default. A quick way to take advantage of this feature for old blends would be to activate the hysteresis parameter in the scene context -> Level of Detail panel Reviewers: campbellbarton, kupoman, moguri Reviewed By: kupoman, moguri Subscribers: nonamejuju, lordodin Differential Revision: https://developer.blender.org/D957
2015-03-22BGE: Add physics constraints replicationThomas Szepe
This patch will add a physics constraints replication for group instances (dupli group). It also fix crashing when when a group instance is made from a linked group instance and both are on the active layer. Initial patch T31443 from moerdn (Martin Sell). Reviewers: lordloki, sergof, moguri, sybren Reviewed By: moguri, sybren Differential Revision: https://developer.blender.org/D658
2015-03-21Revert part of D1074 related to acceleration taked into account.Jorge Bernal
It has been reverted because it was affecting obstacle avoidance (T44041). This fix should be backported to 2.74
2015-03-21Cleanup: instantiate arg once in context macroCampbell Barton
2015-03-21Fix T44065: fixed vehicle constraintSybren A. Stüvel
Commit ffee7f1a58a18bc08add94176ddffe29809139a6 broke vehicle constraints; this fixes that.
2015-03-21Cleanup: constify view3d/cameraCampbell Barton
2015-03-21Cleanup: constify scene/modifiersCampbell Barton
2015-03-21Cleanup: use tabsCampbell Barton
2015-03-21View3D: fix view-selected zoom logicCampbell Barton
- Correct logic converting radius to view distance. - Wasn't taking view-zoom into account converting lens to angle. - Support framing the selection in the camera bounds (for camera locked views). Add ED_view3d_radius_to_dist to handles these details.
2015-03-21View3D: use defines for default zoom-levelsCampbell Barton
2015-03-20Fix indentation in last commit, tab slipped inJens Verwiebe
2015-03-20Really fix scons with new glsl shadersJens Verwiebe
2015-03-20Correction to previous commit, initialization of needs_free got lost by ↵Sergey Sharybin
accident
2015-03-20Fix link error with GLEWAntony Riakiotakis
2015-03-20Correct recent commitCampbell Barton
2015-03-20Remove unused armature codeCampbell Barton
ED_armature_deselect_all now simply de-selects
2015-03-20Avoid per-draw allocation when drawing currently rendering tilesSergey Sharybin
2015-03-20Only create vertex buffers if supported and clean them up properly.Antony Riakiotakis
2015-03-20Fix high quality depth of field on the Mac.Antony Riakiotakis
Quite a few things wrong here: * Mac did not support EXT_draw_instanced, only ARB_draw_instanced * Draw instanced did not work unless data came from vertex buffer, which is second time we see weird things with vertex arrays in mac * There were a few stupid mistakes by me as well, such as binding to uniform locations for the wrong shaders (it's a wonder it ever worked :p)
2015-03-20Fix race condition and bad memory access highlighting render tilesSergey Sharybin
Is was possible that interface will be refreshed at thesame time as render engine will start freeing render parts. Not sure if we can get away without RW mutex here, seems we need one way of synchronization or another..
2015-03-20Fix/Improve FKey bone creationCampbell Barton
- new bone is now made active - previous selection cleared - bone direction places the tip on the active bone (if available)
2015-03-20Fix T43986: VSE Mask Modifier don't move with video-Clip.Bastien Montagne
Now mask animation is offset to start of strip, instead of staying at frame 1! Warning: this may break existing files, in case some would be using (hacking around!) current bad behavior...
2015-03-20Fix T43786: Cycles bake disregards Auto Smooth (vertex per-face normals)Sergey Sharybin
Added an utility function which performs vertex split based on the loop normal so now backing API matches to what's happening in Cycles and BI in terms of autosplit. Reviewers: dfelinto, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1174
2015-03-20Fix stupid strict flags in math_color_inline.cSergey Sharybin
It was unleashed with recent ghash commit and issue seems to be the same as fixed in 69065b5b.
2015-03-20Add missing update adding a shape-keyCampbell Barton
Noticeable when pin is enabled.
2015-03-20Cleanup: warnings bit-shift int overflowCampbell Barton
2015-03-19Cleanup remove unused variableAntony Riakiotakis
2015-03-19Fix T43989: Sequencer - Ctrl snapping a sequencer strip does not work if you ↵Bastien Montagne
specify the x axis. New 'strip' snapping was simply not computed in case of constrained transform, hence init '0' value was used as frame offset in this case. This commit reorganizes a bit that snapping, to keep it more 'confined' into `snapSequenceBounds()` dedicated function. It still needs a minor hack (setting snapping mode to something else than defualt `SCE_SNAP_MODE_INCREMENT`, to avoid this snapping to be called by contraint code). Thanks to Antony for review and enhancements. This fix should be backported to 2.74.
2015-03-19Remove deleted list for palette colorsCampbell Barton
was used because of UI memory access only.
2015-03-19UI: minor re-organization of dof optionsCampbell Barton
2015-03-19Blender will now use trilinear filtering by defaultAntony Riakiotakis
2015-03-19GHash - code reorganization, performance enhancements, add a few missing ↵Bastien Montagne
utils to API. This patch is the root of the GHash rework, all other diff will be based on it: Reduce average load from 3.0 to 0.75 ---------------------------------- This is the big performance booster part, e.g. makes tracing a dyntopo stroke between 25% and 30% faster. Not much to say about it, aside that it obviously increase memory footprint (about 25% - 30% too). Add optional shrinking ---------------------------------- I.e. ghashes/gsets can now shrink their buckets array when you remove enough entries. This remains optional and OFF by default. Add code to use masking instead of modulo ---------------------------------- Buckets indices are obtained from hashes by “reducing” the hash value into the valid bucket range. This can be done either by bit-masking, or using modulo operation. The former is quicker, but requires real hashes, while the later is slower (average 10% impact on ghash operations) but can also be used as a 'fake' hashing on raw values, like e.g. indices. In Blender currently not all ghash usages actually hash their keys, so we stick to modulo for now (masking is ifdef’ed out), we may however investigate the benefits of switching to masking with systematic very basic hashing later… Add various missing API helpers ---------------------------------- I.e. a way to deep-copy a ghash/gset, and a way to (re-)reserve entries (i.e. manually grow or shrink the ghash after its creation). Various code refactoring ---------------------------------- * Get rid of the 'hack' regarding ghash size when used as gset (it’s simpler and safer to have two structs defined here, and cast pointers as needed). * Various re-shuffle and factorization in low-level internal code. * Some work on hashing helpers, introducing some murmur2a-based hashing too. Thanks a bunch to Campbell for the extensive review work. :) Reviewers: sergey, campbellbarton Subscribers: psy-fi, lukastoenne Projects: #bf_blender Maniphest Tasks: T43766 Differential Revision: https://developer.blender.org/D1178
2015-03-19Armature select-hierarchy now uses connected bonesCampbell Barton
Traverse down connected child bones (when available) Also remove redundant bone loops.
2015-03-19Depth of field high quality:Antony Riakiotakis
A new checkbox "High quality" is provided in camera settings to enable this. This creates a depth of field that is much closer to the rendered result and even supports aperture blades in the effect, but it's more expensive too. There are optimizations to do here since the technique is very fill rate heavy. People, be careful, this -can- lock up your screen if depth of field blurring is too extreme. Technical details: This uses geometry shaders + instancing and is an adaptation of techniques gathered from http://bartwronski.com/2014/04/07/bokeh-depth-of-field-going-insane- http://advances.realtimerendering.com/s2011/SousaSchulzKazyan%20- %20in%20Real-Time%20Rendering%20Course).ppt TODOs: * Support dithering to minimize banding. * Optimize fill rate in geometry shader.
2015-03-19Fix compilation error of blenderplayer after recent constraint commitSergey Sharybin
2015-03-19Correct recent armature symmetrizeCampbell Barton
Duplicating part of a chain could have invalid 'connected' flag.
2015-03-19Speedup for constraints update from python scriptSergey Sharybin
General idea is to avoid actual calculation from property update() callback and tag things for update later instead. That said, pose constraint flags are now tagged for update and handled as a part of object update. In the new depsgraph it'll be a nice dedicated operation node. Also avoid updating disabled flags for all the modifiers. This part of the path is not totally optimal since it'll still need to iterate over bones in order to get pchan, but to optimize it further would be nice to find a way to avoid pchan requirement all together. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1191
2015-03-19Fix T44040: Blender crashes when nodes are mutedSergey Sharybin
It was actually an old issue with wrong conversion happening for muted nodes, which wasn't visible before memory optimization commit. This is to be backported to the final release.
2015-03-19CleanupCampbell Barton