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
2015-01-06PyAPI: add utilities PyTuple_SET_ITEMS, Py_INCREF_RETCampbell Barton
Setting all values of a tuple is such a common operation that it deserves its own macro. Also added Py_INCREF_RET to avoid confusing use of comma operator.
2015-01-06BGE: Fix for bugs T42520 and T42097 (mouse look actuator related).Jorge Bernal
With this fix the mouse actuator movement works well as with even screen resolutions as odd screen resolutions. Also it fixed the movement when the border of the blenderplayer window is out of the screen limits. Reviewed By: moguri Differential Revision: https://developer.blender.org/D946
2015-01-06Fix T43122: Shrinkwrap target, wrong linked objectCampbell Barton
2015-01-06UI: refactor button string get/set into functions.Campbell Barton
2015-01-06Correction to previous commitjulianeisel
Just realized menu buttons are using hardmin and hardmax for a bad hack which will make the assert fail :/
2015-01-05Fix/cleanup very ugly and unsafe usage of but->str in ui_but_update().Bastien Montagne
Currently, but->str should never be smaller than but->strdata, but code shall not rely on this. Further more, but->strdata is 'only' 128 chars, this could become limit with some translations, if the org label is already rather long, leading to truncated str (Chinese e.g. can only store about 40 chars in strdata).
2015-01-05Fix T43111: Node Editor (Slider) Draw Glitchjulianeisel
* don't allow Node Editor input max value to be less then min value * avoid the num slider drawing glitch if softmin equals softmax * assert if softmax/hardmax is smaller than softmin/hardmin With this, we sort of allow softmin/hardmin and softmax/hardmax being the same.
2015-01-05More border clamping removed.Antony Riakiotakis
2015-01-05Remove border clamping. Usually we just want to clamp to edge instead.Antony Riakiotakis
Note - checked all glTexImage functions and we never use that. Border is ifdefed out too here.
2015-01-05FileBrowser: small tweak to new search feature: clear that string when ↵Bastien Montagne
changing dir. In 99% of cases, you do not want to keep the same filter when changing dir, and having to reset it by hand is *very* annoying!
2015-01-05Outliner 'Blender file' view: Show libs used both directly and indirectly ↵Bastien Montagne
both on main level and in nested tree. Request from Gooseberry team. This eases a bit managing dependancies in complex .blend files. Reviewers: campbellbarton Subscribers: fsiddi Projects: #user_interface, #bf_blender:_next Differential Revision: https://developer.blender.org/D943
2015-01-05Use float format for high bit depth textures if available - storageAntony Riakiotakis
requirements are the same but we may avoid some clipping of float values for HDRs when used in shaders.
2015-01-05Recent fix for SDL2 broke joysticks for SDL1.2Campbell Barton
2015-01-04Cleanup: OSX: remove obsolete ppc/ppc64 sw-renderer kCGL attributesJens Verwiebe
2015-01-04Partial fix for T43113: Filebrowser: Empty folders do not contain go back arrow.Bastien Montagne
Do not allow going into un-readable directories at all. Note we might want to reflect that 'state' in UI for users too, but that will be for later. Also, not quite sure this fix the windows case, will have to start my VM... :/
2015-01-04Sequencer: Preview dragging playhead over stripsCampbell Barton
Bring back the 2.4x feature. also show a highlight when a strip is being previewed.
2015-01-04Fix sequencer border-flickeringCampbell Barton
Offscreen viewport drawing wasn't properly restoring the theme. Add API calls to store/restore the theme so it can be temporarily overridden.
2015-01-04sequencer: don't return big values (fill pointer instead)Campbell Barton
2015-01-04Fix for crash for 'Edit Source'Campbell Barton
was accessing freed menu region.
2015-01-04FileBrowser: Cleanup: rename some (really ugly) enum names.Bastien Montagne
2015-01-04Freestyle: reserve array sizes before fillingCampbell Barton
also use PyList_GET_ITEM when list size is known.
2015-01-04Fix 8 memory leaks from bad PyList_Append useCampbell Barton
2015-01-04Fix T43119: mathutils.intersect_point_line always returns a 2D vector as ↵Bastien Montagne
first value. Trivial, safe for final 2.73.
2015-01-04mathutils: refactor instantiationCampbell Barton
remove 'type' argument, very few mathutils objects are wrapped, add new function for creating wrapped objects. also fixes unlikely memory leak if the data-array can't be allocated.
2015-01-04cleanup: use 'coords' abbreviation for functions.Campbell Barton
2015-01-04cleanup: create cube, use index lookupsCampbell Barton
2015-01-04Fix T43114: File Browser - don't highlight '..' while using border selectjulianeisel
2015-01-03FileBrowser: add search field in header bar.Bastien Montagne
Not much to add, pretty straightforward...
2015-01-03Freestyle: memory consumption optimization in stroke rendering.Tamito Kajiyama
Previously individual strokes were represented by distinct mesh objects no matter how many vertices and materials each stroke has, although the vertex and material counts can be quite small depending on the input scene data. Now stroke meshes are packed into a minimum number of mesh objects, so as to reduce the overheads of Blender object creation.
2015-01-03Bump subversion so that version patches for theme changes workJoshua Leung
2015-01-03D824: Add themeing for keyframe lines in TimelineDiego Garcia
Reviewed by: Joshua Leung (aligorith)
2015-01-03Grease Pencil: Vertex size and colours are now themableJoshua Leung
2015-01-03Cleanup: rename 'filelist' BLI funcs to consistent naming.Bastien Montagne
Also, add an optional callback to `BLI_filelist_free()` to allow freein void poin if needed (consistency with `BLI_filelist_duplicate()`...).
2015-01-03Refactor 'fit in camera view' code, and expose it to RNA.Bastien Montagne
This changes BKE's fitting code to use `BKE_camera_params_compute_viewplane` instead of `BKE_camera_view_frame`. This allows that code to work with orthographic projection too. Also, two funcs were added to rna's Object, to resp. get the projection matrix of that object (mostly useful for cameras and lamps objects), and return position this object should be to see all (to fit) a given set of points. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D961
2015-01-03Add some BLI helpers needed by asset branch.Bastien Montagne
`BLI_strncpy_ensure_pad()` is also useful with current master code. The two others (`BLI_strcmp_ignore_pad()` and `BLI_filelist_duplicate()`) are only used in asset branch currently, but think they could be useful in other places too, and simplifies handling of asset branch & future patch review. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D965
2015-01-03GTest: test beautify with polyfillCampbell Barton
2015-01-03GTest was broken on LinuxCampbell Barton
2015-01-03Fix for view map cache not flushed by updates of edge detection options.Tamito Kajiyama
This fix should be considered for inclusion in the 2.73 release, since it concerns a new feature of Freestyle introduced in 2.73.
2015-01-03Fix RNA Image.frame_duration.Bastien Montagne
If a video was loaded (e.g. from python) but never 'ibuf-acquired', its Image->anim prop would still be NULL, returning useless '1' value as frame duration!
2015-01-02Cycles: Fix compilation error on AVX platforms with -arch-nativeSergey Sharybin
Was a conflict in headers between clew and util_optimization.h.
2015-01-02Fix (unreported) 'pad9' not shown by UserPrefs' KeyBinding filter.Bastien Montagne
Minor glicth, but still... Safe for 2.73.
2015-01-02Cycles: Fix unneeded int/float conversion happened in previous commitSergey Sharybin
2015-01-02Fix T43027: OpenCL kernel compilation broken after QBVHSergey Sharybin
OpenCL apparently does not support templates, so the idea of generic function for swapping is a bit of a failure. Now it is either inlined into the code (in triangle intersection) or has specific implementation for QBVH. This is probably even better, because we can't create QBVH-specific function in util_math anyway.
2015-01-02Fix T43099: Modifiers in edit mode might mess up materialsSergey Sharybin
The issue was originall caused by 2e8ba17 by removing necessery call GPU_enable_material(). It was probably removed because in some cases material was enabled after calling setDrawOptions. That wasn't always a case for edit mode. This is absolutely to be included to 2.73
2015-01-02cleanup: styleCampbell Barton
2015-01-02Fix T43066: Joystick broken in GE since 2.73rcCampbell Barton
Caused by move to SDL2, fix thanks to jensverwiebe.
2015-01-01Fix same operator (curve.separate) in double in Curve menu.Bastien Montagne
Reported by Leon Cheung on IRC, thanks.
2015-01-01cleanup: redundant casts & const cast correctnessCampbell Barton
2015-01-01SpaceFile: Cleanup: fix stupid indices in `filelist_from_main()`Bastien Montagne
Dead code (currently), but still...
2015-01-01SpaceFile: Tweak thumbnail to avoid restarting the job needlessly.Bastien Montagne