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
2014-01-26Code Cleanup: style and correct API class refCampbell Barton
2014-01-25Fix T38353: some EXR files from other applications not loading correctly.Brecht Van Lommel
* EXR layers with names like 'Z' without any pass name were not loaded at all and would break the Combined pass as well. * EXR pass names longer than 16 characters where writing past the end of the array and getting invalid names.
2014-01-25Fix T38356: Crash when UIList.filter_items returns too few items.Bastien Montagne
2014-01-24Change tooltip text for Vertex Group in Bevel Modifier.Howard Trickey
Reflects previous commit that now allows this group to control edge bevels too.
2014-01-24Bevel modifier can use vertex groups for edge bevel now.Howard Trickey
Until now, the "vertex group" limit method in the modifier only worked for "vertex only" bevels. With this change, edges with both ends in a vertex group will be beveled in the non-"vertex only" case. Also changed the test for being in a vertex group from "any nonzero weight" to "weight >= 0.5". This is because cascaded bevels on disjoint vertex groups did not give disjoint bevels, because weight interpolation would give non-zero weights to newly created vertices in earlier bevels. Chose 0.5 because that won't result from interpolation, but still allows some dilution (e.g., cascaded bevels on the same vertex group).
2014-01-24Add convinient access to full bitangent for loops (some export formats like ↵Bastien Montagne
FBX expect full bitangents, better to compute them in C than in python...)
2014-01-24Fix T38347: adding object visibility keyframes in the outliner groups andBrecht Van Lommel
libraries view not working. This was disabled in the operator, there may have been a reason for this at some point, but I can't see any reason to disallow it in the current code or find a good reason why it was done in the commit logs.
2014-01-24Make multisegment bevel profiles even for all parameters.Howard Trickey
The method for calculating points on the profile for non-circles and non-lines meant that the segments making up an edge had uneven widths. Use a numeric search technique to find superellipse evaluation points that lead to equal-sized chords across the profile. Also calculate the actual profile points sooner, so that they don't have to be recalculated again and again. This also sets up for a possible later feature of arbitrary profile shapes, set by user.
2014-01-24Fix currently harmless issue with converting ImBuf from sequencer spaceSergey Sharybin
2014-01-23Fix T38150: implementation mismatch in bmesh pythonBastien Montagne
Hopefully this time all mismatches are fixed (quickly checked the whole BMesh API files, found a few others in addition to those reported in T38150).
2014-01-23Make Tab Divider interopolate between the region background and tab outline.Jonathan Williamson
Previously the divider was using the region background and the region text, leading to bad outlines with custom themes. This makes the outline behave more expectedly and allows better control.
2014-01-23Fix T38337: Crash when calling to_mesh() on a Curve object after clearing ↵Sergey Sharybin
its parent This is rather a workaround which only works because curve evaluation is only called for a temporary object. Not a big deal if we'll skip path creation for such objects. Still would need to think of general solution.
2014-01-23Fix T36165: blender internal HDR textures with negative values got clamped.Brecht Van Lommel
For example for vector displacement, you may have an EXR texture that has negative colors values. Blender clamps these by default, now the Colors panel for textures has a Clamp option to disable this clamping. This option affects all texture types and is enabled by default, you need to disable it if you want negative values to have an influence. Patch by Fredrik Hansson with modifications by me.
2014-01-23Fix T37685: automatic weights affected by face masking outside weight paint ↵Brecht Van Lommel
mode. Only when in weight paint mode should it check the selected vertices and faces, in object mode it should just affect the entire mesh.
2014-01-23Cleanup: int/short to bool in BKE_cdderivedmesh.h functions (and TRUE/FALSE ↵Bastien Montagne
to true/false in code using them).
2014-01-23Fix crash when changing space type to 3D space when having multiple windowsSergey Sharybin
it is possible that different windows shares scene but displays different layers. And it's also possible that different areas in the same window will show different layers. First case was violated in `dag_current_scene_layers()` which only checked scene layers only once and if multiple windows shares the same scene only one window was handled. Now made it so layers from all windows will be squashed together into a single `DagSceneLayer`. This mainly solves issue with `DAG_on_visible_update()` which didn't work reliable with multiple open windows. Second case required call of `DAG_on_visible_update()` when changing space are type. This commit slows things a bit actually because `dag_current_scene_layers()` is actually called on every main WM loop iteration. It is possible to speed some logic up perhaps. Not sure it's so much critical to do now because there are unlikely to be more than few windows open anyway. Will rather think of skipping all that flushing things if no objects are tagged for update actually.
2014-01-23Fix for crash getting the name of RNA properties with empty nameCampbell Barton
2014-01-23Code Cleanup: whitespaceCampbell Barton
2014-01-23Code Cleanup: find operator once and reuseCampbell Barton
2014-01-23Fix for IMB_(un)premultiply_rect_float() not doing right businessSergey Sharybin
- Made them receive number of channels rather than number of planes. This matches to how ImBuf structure stored planes and channels. - IMB_premultiply_rect_float() was called with channels passed instead of planes already :S.
2014-01-23Fix T38284: Crash with several shrinkwrap constraint using same targetSergey Sharybin
Issue is caused by the race condition between getting custom data layers from target's derived mesh (for vertices and faces) and releasing this derived mesh from other threads. When one releases the derived mesh it'll free temporary data from it, and it'll also update data layers mapping. General rule for threading is that no one is ever allowed to modify data he doesn't own. This means that no temp layers are to be allocated in derived mesh and making it so `CustomData_free_temporary()` doesn't update mapping if nothing was freed will solve the race condition. It is still possible to do other improvements, namely detect which additional data/layers are to be present in derived mesh and create it as a part of `object_handle_update()`, but this is to be solved separately.
2014-01-23Removed the omat matrix from DupliObject.Lukas Tönne
This was storing the original object matrix, which builds on the assumption that obmat is modified during dupli construction, which is a bad hack. Now the obmats are still modified, but this only happens outside of the dupli system itself and the original ("omat") is stored as local variables in the same place where the obmat manipulation takes place. This is easier to follow and avoids hidden hacks as much as possible. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D254
2014-01-23Fix T38042: Keymap crash after reloading operatorsCampbell Barton
After some investigation with mont29, seems like the best way to ensure keymaps point to valid operators is using WM_keyconfig_update().
2014-01-23WM: add WM_operatortype_remove_ptr to remove a known operatorCampbell Barton
2014-01-23Fix T38328: GLSL display shows texture mapping completely messed up in some ↵Bastien Montagne
cases Own stupid typo in rB28ca299d4dfc...
2014-01-23BGE Bitmap Text: add in check if the character is outside the rangeCampbell Barton
2014-01-23Fix T38325: Game Engine Bitmap fonts failed for characters >128Campbell Barton
2014-01-23Tab theme colorsCampbell Barton
patch D234 from Jonathan Williamson with edits - de-duplicate rna_def_userdef_theme_space_gradient and rna_def_userdef_theme_space_generic - ui_theme_init_new_do now always sets theme settings (no need to test), used by bpy.ops.ui.reset_default_theme()
2014-01-22Fix T38316: Half of a Face is Missing on Newly Created Cubes or Cylinders.Bastien Montagne
Own bug from rBc691551249f3. Now at least I understand why `test_index_face()` is needed for tessellated quads! Added a bunch of comments to explain the issue, as it's far from an obvious one... We loose some performances, but it's still much quicker than org code.
2014-01-22Fix T38323: blender viewport render in particle hair edit mode renders halos.Brecht Van Lommel
Currently it's not supported to do viewport render of particles while in particle edit mode, hide the particle instead of rendering halos.
2014-01-22Fix T37940: Curve Render bug in Blender Internal Render.Sergey Sharybin
Issue was caused by curve object really scale up. It was caused by 677f519 to make scaled down curves work fine. After some tweaks to epsilon value scaled up curves seems to work as well.
2014-01-22Fix T38319: no camera error message for render not showing correctly.Brecht Van Lommel
2014-01-22Fix T37198: Vorbis encoding is brokenSergey Sharybin
Issue was caused by wrong PTS calculation. This commit makes this calculation closer to what's happening in FFmpeg itself. Seems everything is working now including newer FFmpeg, but there's one thing which still doesn't work: writing avi files with h264 codec and Vorbis audio doesn't play correct in mplayer here. But didn't manage to get this working even using FFmpeg CLI, so this might be just a bug in FFmpeg/mplayer. Since this file works fine in blender just fine wouldn't consider this is crucial thing to look into at this moment.
2014-01-22Fix tool properties region drawing even if the toolbar is hidden.Brecht Van Lommel
This would show as a line on the side of the 3D view with high DPI / retina, not easy to notice.
2014-01-22Fix T38318: blender internal viewport now uses viewport, not render visibility.Brecht Van Lommel
This is the same as cycles and more consistent with it also using viewport resolution.
2014-01-22Fix for particle emission bug, reported on IRC by Thomas BeckLukas Tönne
(@plasmasolutions): When the particle emitter is parented to a fast moving object, the emission locations will not be interpolated over subframes. This works if the particle emitter is animated itself. Particle system evaluates the emitter location for each subframe, but has to do this for the parent objects as well to get reliable results.
2014-01-22Fix T38011 and cleanup of Lens Distortion node code.Lukas Tönne
The area-of-interest calculation for that node didn't work reliably. It tries to estimate the distorted rectangular area based on min/max distortion and dispersion values, but this fails in some cases and leaves uninitialized buffer chunks. So now simply use the full input rect as the area, even though it may not be as efficient - at least it works ... Also cleaned up the code somewhat to make it understandable, using separate functions for common stuff instead of cryptic walls of math.
2014-01-22Fix T38312: Crash when using snap transform in edit modeSergey Sharybin
Issue was caused by uninitialized boolean flag.
2014-01-22Make memory checker happy about FileGlobalSergey Sharybin
FileGlobal structure in write_global() didn't initialize the while build_hash property and only placed there null terminated meaningful content, leaving trailing uninitialized. This made valgrind complain about using uninitialized memory later in undo stack.
2014-01-22BMesh: collapse_uvs - avoid clearing and flagging for every cd-layerCampbell Barton
2014-01-22Fix T38306: dupliframes causing viewport render to continually restart.Brecht Van Lommel
Evaluating the animation is causing the object to get tagged as changed, but in this case it's not a permanent change so no one should be notified. Also found a case where the persistent ID for duplis wasn't unique, fixed that as well.
2014-01-21Usual UI messages fixes.Bastien Montagne
2014-01-21Code Cleanup: reduce sign conversionCampbell Barton
2014-01-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2014-01-21Minor cleanup from latest coverity checks - if we have a previous curve, we ↵Bastien Montagne
can safely assume we also have a previous stroke! Better to assert here, than checking this randomly...
2014-01-21Optimize tessellation code (min 20% better, up to 300% with some CD layers ↵Bastien Montagne
to tessellate). The main idea is to store (during tessellation) or recreate (during tessdata update) a tessfaceverts-to-loops mapping, and then update all tessdata in one pass, instead of calling `BKE_mesh_loops_to_mface_corners` repeatedly for all tfaces! Differential Revision: https://developer.blender.org/D226 Reviewed by Campbell, thanks a lot!
2014-01-21Timing macros: remove the (void)0 at the end of TIMEIT_BLOCK_INIT,Bastien Montagne
it prevents declaring/using more than one of these timing blocks in a same code block (C rule, no var declaration and code mixing)...
2014-01-21Replace XOR swapping by default ("naive", with extra var) one.Bastien Montagne
Ref: http://en.wikipedia.org/wiki/XOR_swap_algorithm, modern compilers/CPUs are much more efficient with "naive" algo than XOR one. Doubled check, for me in an optimized build, XOR is several times slower than naive algo.
2014-01-21Fix T38265: transferring vertex weights from an object with modifiers not ↵Brecht Van Lommel
working. It was using the modified mesh for the vertex coordinates, and the unmodified mesh for the vertex weights, which can't work and crashed in some cases, now it used the modified mesh for both. Perhaps an option should be added to indicate if you want to transfer from the unmodified mesh or transfer to the modified mesh, but I think this fix makes it works as intended when this was implemented.
2014-01-21Fix T38298: crash saving float image with 3 channels from exr to png/jpeg.Brecht Van Lommel