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-08-18Replace 'BLO_is_a_library' by 'BLO_library_path_explode'.Bastien Montagne
This new func will be fully used by upcomming code (it mostly adds the extraction of library item name as well as library file and ID group).
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-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-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-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-07Fix T45713: Numselect for confirm popup not working anymoreJulian Eisel
2015-08-05Remove files from recent-files list on failed openCampbell Barton
2015-08-04SCons: Fix for really nasty bug with polluting configuration environmentSergey Sharybin
The issue was caused by the following construction: def = env['SOMETHING'] defs.append('SOMETHING_MORE') Since first assignment was actually referencing environment option it was totally polluted hawing weird and wonderful side effects on all other areas of Blender.
2015-08-01Node Editor: A bunch of new utility functionsJulian Eisel
Needed for node insert offset (Auto-offset in UI), but kept separate so people notice it without having to check insert offset commit (not for commit ratio of course ;) )
2015-08-01Allow accessing modal keymap strings directly from keymapJulian Eisel
Previously you had to pass operator which in some cases might not be available or hard to get.
2015-07-28Audaspace: fixing problems for the merge to master suggested by Campbell and ↵Jörg Müller
Sergey. - rename WITH_EXTERNAL_AUDASPACE to WITH_SYSTEM_AUDASPACE. - rename C/PYAUDASPACE to AUDASPACE_C/PY - simplifying cmake defines and includes. - fixing include paths and enabling WITH_SYSTEM_AUDASPACE for windows. - fixing scons building. - other minor build system fixes.
2015-07-28Audaspace: fix the new wm_playanim.c (from gooseberry branch) to use the new ↵Jörg Müller
API.
2015-07-27Cleanup: deprecate some G.fileflags comment othersCampbell Barton
2015-07-25Cleanup: double-promotion warningsCampbell Barton
2015-07-22Render preview: Make preview render database lazily loadedSergey Sharybin
Gives about 5-10% of startup time improvement here.
2015-07-20OpenSubdiv: Commit of OpenSubdiv integration into BlenderSergey Sharybin
This commit contains all the remained parts needed for initial integration of OpenSubdiv into Blender's subdivision surface code. Includes both GPU and CPU backends which works in the following way: - When SubSurf modifier is the last in the modifiers stack then GPU pipeline of OpenSubdiv is used, making viewport performance as fast as possible. This also requires graphscard with GLSL 1.5 support. If this requirement is not met, then no GPU pipeline is used at all. - If SubSurf is not a last modifier or if DerivesMesh is being evaluated for rendering then CPU limit evaluation API from OpenSubdiv is used. This only replaces the legacy evaluation code from CCGSubSurf_legacy, but keeps CCG structures exactly the same as they used to be for ages now. This integration is fully covered with ifdef and not enabled by default because there are several TODOs to be solved first: - Face varying data interpolation is not really cleanly implemented for GPU in OpenSubdiv 3.0. It is also not implemented for limit evaluation API. This basically means we'll have really hard time supporting UVs. - Limit evaluation only works with adaptivly subdivided meshes so far, which basically means all the points of CCG are pushed to the limit. This gives different result from old code. - There are some serious optimizations possible on the topology refiner creation, which would speed up initial OpenSubdiv mesh creation. - There are some hardcoded asumptions in the GPU and DerivedMesh areas which could be generalized. That's something where Antony and Campbell can help, making it so the code is structured in a way which is reusable by all planned viewport projects. - There are also some workarounds in the dependency graph to make sure OpenGL buffers are only freed from the main thread. Those who'll be wanting to make experiments with this code should grab dev branch (NOT master) from https://github.com/Nazg-Gul/OpenSubdiv/tree/dev There are some patches applied in there which we're working on on getting into upstream.
2015-07-19Properly fix T45477Antony Riakiotakis
Code was actually skipping setting color selection indices and previous commit actually broke mask selection in texture painting. All should work now.
2015-07-19Fix T45477 wrong edge selection.Antony Riakiotakis
Caused by own changes to framebuffer selection code, code was not packing color ids correctly.
2015-07-16Fix T45456: Error's in splash don't restore cursorCampbell Barton
2015-07-16Disable check for recent-files.txt existingCampbell Barton
slows startup on remote, network fs... etc.
2015-07-15 VBO offscreen selection drawing, cdderivedmeshAntony Riakiotakis
Get rid of legacy drawing, it's only used for selection, in which case we can prepare a temporary color buffer and draw at once. Code is not complete here because we still redundantly set the draw color in the draw function and don't ommit hidden faces automatically. Still it works 100% without immediate mode now.
2015-07-14Cleanup: headers (wm)Campbell Barton
2015-07-14Cleanup: use ascii as suffix (as with utf8)Campbell Barton
2015-07-12Shortcut-to-string converter: add 'dbl-' in front of key when expecting a ↵Bastien Montagne
double-click. I think this is the only Keymap value we really need to handle here...
2015-07-12Fix crash in redraw timerCampbell Barton
Was modifying wrong regions flag, that could also be NULL.
2015-07-12Add ability for redraw timer to run for fixed timeCampbell Barton
Also avoid accessing context vars in timer loop.
2015-07-11Add WM_framebuffer_to_index_arrayCampbell Barton
Convert buffer to index in one loop, also minor cleanup to backbuf/selection functions. - Use IMB_rectcpy instead of inline pixel copy. - Redundant WM_framebuffer_to_index call.
2015-07-03Walk mode: Add modal shortcuts in UI (header help message).Bastien Montagne
2015-07-03Cleanup: 'return' parameters to the end of functions, and use 'r_' prefix ↵Bastien Montagne
for them.
2015-07-03UI: add ability to access/generate 'shortcuts strings' of modal keymaps.Bastien Montagne
We already had that for global keymaps (used e.g. to generate shortcuts for menu entries), but this wasn’t possible for modal keymaps yet (e.g. help message in header during transforms and other modal operation). This commit only adds needing background code, it does not change anything from user PoV. Modal operators will be updated to use it in comming weeks. Thanks to Campbell for revisions & suggestions. :) Differential Revision: https://developer.blender.org/D780
2015-07-02Make OpenGL debug contexts a flag --debug-gpu instead of a compile timeAntony Riakiotakis
option. This makes sense, since contexts get created at runtime, there is little reason to require recompilation for this. Only works on linux currently, will be doing more OSs later
2015-07-02Fix crash in background mode after the NDof deadzone commitSergey Sharybin
2015-07-01User Prefs for NDOF dead-zoneCampbell Barton
D1344 with edits
2015-06-23Fix stupid mistakeAntony Riakiotakis
2015-06-23Code cleanup: Use enums for redraw timer operator, makes things moreAntony Riakiotakis
readable
2015-06-19Cleanup: fix mismatch in printf formating (int/unsigned int).Bastien Montagne
Noisy and annoying with new gcc5...
2015-06-15Fix typo in previous commitAntony Riakiotakis
2015-06-15Fix T45060: Brush size snaps back to default maxCampbell Barton
2015-06-13Multi-View: Some Stereo 3D modes require a special drawing all the timeDalai Felinto
some 3d methods change the window arrangment, thus they shouldn't toggle on/off just because there is no 3d elements being drawn The optimized solution would be to draw only the left eye in those cases, but there is some issue going on with that, so this commit will do for now.
2015-06-13Fix scons compilationJoshua Leung
2015-06-12UI: Use numselect for redo-popup (for move layers)Campbell Barton
2015-06-12Fix for building without audiospaceCampbell Barton
2015-06-12Merge all changes to blenderplayer from gooseberry branch:Antony Riakiotakis
* Allows sound playback for movies * Allow play-pause with space button * Allow displaying a position indicator with the I button
2015-06-12Fix T45041: (2.75RC) blender crashes when I choose 'Refresh DataBlock Previews'.Bastien Montagne
Not sure where this sneaked in, but we for sure need a valid context (otherwise we'd need to pass a Main alog too). This is to be backported to final 2.75.
2015-06-11Fix possible NULL pointer useCampbell Barton
2015-06-09Fix T37746: Presets in splash failed to redrawCampbell Barton
2015-06-09Multiview: fix Time Sequential crash when screen is fullscreen T44688Dalai Felinto
ED_screen_duplicate() was never written to support non-fullscreen modes. This is prior to the hidden ui fullscreen commit, and it's quite ancient in Blender's code (since Jan/08 - 1363134d) That's why duplicate window, and new screen operators are disabled when screen is full.
2015-06-08WM: refactor window code for stereo3dCampbell Barton
Window copy code made it hard to test fixes.
2015-06-08Remove redundant NULL checkCampbell Barton
2015-06-08Fix T44976: 3D View turns into an Image Editor after saving renderJulian Eisel
result Was a case of two stacked temporary fullscreens, so a quite extreme situation.