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
2016-04-25Refactor BKE_blender into separate headersCampbell Barton
- BKE_blender_version.h (only version defines & versionstr). - BKE_blender_copybuffer.h (currently only used for view3d copy/paste). - BKE_blender_undo.h (global undo functions). - BKE_blendfile.h (high level blend file read/write API).
2016-03-31Fix T47985: VSE GL-render scene strip hangsCampbell Barton
Regression in d5f1b9c22, threading deadlock rendering a scene from the OpenGL preview.
2016-02-29Fix a bunch of temp full-screen glitchesJulian Eisel
Steps to reproduce fixed glitches were: * Change any editor to be file browser from menu, Ctrl+O *from the file browser area*, Esc -> area reset to what it was before changing to file browser initially * Ctrl+O from any area, F12, Esc -> returns to initial editor in full-screen (expected is file browser in full-screen) Fixes T46229 Core of the fix is removing old area from spacedata list when going back to previous area (see ED_area_prevspace -> BKE_spacedata_remove). Also, when creating a new temp area we now don't exit old area anymore (needed so SpaceFile->op is kept, but it also makes sense in general) Aaand finally removes some ugly hacks. Tested quite a bit, so I think it's safe to apply (besides of remark below), just would like to get things double checked and confirmed. After all, this full-screen stuff finally starts to feel like it's working :P Note, there's still a memory leak when quitting Blender with temp area open. Haven't found out how to solve yet, but it's not that important for review anyway. Reviewers: campbellbarton, brecht Reviewed By: brecht Subscribers: plyczkowski, Blendify Maniphest Tasks: T46229 Differential Revision: https://developer.blender.org/D1531
2016-02-07Cleanup: line widthCampbell Barton
2016-02-01Fix wrong information used for stamp when "Strip Metadata" is usedSergey Sharybin
Such configuration used to cause quite confusing situation when stamp will use actual scene's statistics but metadata from strip will be used for the saved file (basically, causing different information stamped and saved as metadata). Don't think it was desired behavior and it's something what artists here in the studio wants to be fixed.
2016-01-23Vector Transform node support for GLSL mode and the internal rendererAlexander Romanov
The Vector Transform node is a useful node which is present in the Cycles renderer. {F144283} This patch implements the Vector Transform node for GLSL mode and the internal renderer. Example: {F273060} Alexander (Blend4Web Team) Reviewers: brecht, campbellbarton, sergey Reviewed By: campbellbarton, sergey Subscribers: psy-fi, duarteframos, RobM, lightbwk, sergey, AlexKowel, valentin_b4w, Evgeny_Rodygin, yurikovelenov Projects: #bf_blender:_next Differential Revision: https://developer.blender.org/D909
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2015-12-27Split id->flag in two, persistent flags and runtime tags.Bastien Montagne
This is purely internal sanitizing/cleanup, no change in behavior is expected at all. This change was also needed because we were getting short on ID flags, and future enhancement of 'user_one' ID behavior requires two new ones. id->flag remains for persistent data (fakeuser only, so far!), this also allows us 100% backward & forward compatibility. New id->tag is used for most flags. Though written in .blend files, its content is cleared at read time. Note that .blend file version was bumped, so that we can clear runtimeflags from old .blends, important in case we add new persistent flags in future. Also, behavior of tags (either status ones, or whether they need to be cleared before/after use) has been added as comments to their declaration. Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D1683
2015-12-08OpenGL: split off framebuffer, shader and texture code into separate files.Brecht Van Lommel
2015-11-30Fix T38245: render slot getting lost when switching slots while compositing.Brecht Van Lommel
2015-11-23Cleanup: shadowing (editors)Campbell Barton
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-11-19Cleanup: redundant 'break', minor editsCampbell Barton
2015-11-17Fix T46793: VSE OpenGL renderer crashes when using grease pencilSergey Sharybin
Own regression in recent speedup commit.
2015-11-16Speedup OpenGL sequencer animation renderingSergey Sharybin
The idea is to avoid having roundtrip from byte to float and back to byte buffer and use render result's byte buffer to store result of sequencer rendering. This actually matches to what regular render pipeline is doing and this gives around 2-3 times speedup of sequencer export on a simple scenes.
2015-11-16Remove unused arguments from RE_WriteRenderViewsMovie()Sergey Sharybin
2015-11-11OpenGL Render: Support full-sample Anti-AliasingCampbell Barton
This brings back old (slower), higher quality method. Useful since graphics cards often use a faster MSAA which only oversamples edges.
2015-11-11Cleanup: GL Render (simplify internal logic)Campbell Barton
Reduce code-paths so improvements to 3D view render apply to sequencer too.
2015-11-10Prevent non-button space used as a SPACE_BUTS from template_previewSergey Sharybin
2015-11-09Cleanup: avoid incrementing/decrementing id->us outside of BKE_library.Bastien Montagne
We have callbacks for that, they also do some checks and help ensure things are done correctly. Only place where this is assumed not true is blenloader (since here we may affect refcount of library IDs as well...).
2015-10-28Cycles: Expose user-defined shutter curve to the interfaceSergey Sharybin
Shutter curve now can be controlled using curve mapping widget in the motion blur panel in Render buttons. Only mapping from 0..1 by x axis are allowed, Y values will be normalized to fill in 0..1 space as well automatically. Y values of 0 means fully closed shutter, Y values of 1 means fully opened shutter. Default mapping is set to old behavior when shutter opens and closes instantly. This shutter mapping curve could easily be used by any other render engine by accessing scene.render.motion_blur_shutter_curve. Reviewers: #cycles, brecht, juicyfruit, campbellbarton Differential Revision: https://developer.blender.org/D1585
2015-10-23Cleanup: use int for view_id's & view countCampbell Barton
`size_t` is useful for memory sizes or offsets, the number of views wont realistically exceed an int.
2015-10-15Fix T46223: multiview image sequences crashing.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1549
2015-10-14Support for multi-sample sequencer GL renderCampbell Barton
OpenGL sequencer render now uses a single fbo for all rendering.
2015-10-14Support for multi-sample off-screen buffersCampbell Barton
Replaces much slower manual accumulation buffer which simply did multiple renders. Needs OpenGL3.2, otherwise multi-sample is disabled.
2015-10-06WM: Fix crash when a new window can't be createdCampbell Barton
Report an error instead of crashing if a new window can't be created (typically caused by bad drivers).
2015-09-22Show error when unsupported movie format usedCampbell Barton
Was silently failing.
2015-09-14Revert "Fix crash in opengl render caused..."Campbell Barton
This reverts commit d64b1221c67846bb954855a19c8dd093b83adc8e. While this prevents the crash, offscreen renders still aren't working right.
2015-09-14Fix crash in opengl render caused by gfx being blacklisted forJoe Eagar
non-power-of-2 texture support. Note that all I did was pass the correct width/height into glReadPixels; the result may not be the same as if non2 textures were enabled.
2015-09-09Fix T45839 : Regression - Multi-layer image issues when using non-standard namesDalai Felinto
This was introduced in the fix for T44336 . The code is now what it should have been in the first place at the time of multiview commit. ImageUser->passtype is being removed in favour of bringing ImageUser->pass back. Reviewers: sergey Differential Revision: https://developer.blender.org/D1504
2015-08-27Fix T45702: Editing smoke while viewport render and blender bugSergey Sharybin
Issue was caused by blender internal accessing data from DNA during rendering. There's no simple solution to make stuff thread safe, so for now simply restart rendering on frame update.
2015-08-23Cleanup: spelling/styleCampbell Barton
2015-08-23This commit makes it possible to select the sort mode whenever we invoke an ↵Thomas Beck
operator. It's needed especially for the menu entry "recover auto save" where you'd like to have the files sorted by date most of the time but it could be useful in other places too. There should be no functional change in other areas, I just added the missing parameter (FILE_SORT_ALPHA). Was a request from @sebastian_k at #BCon13, so at least one guy needs it ;) Reviewers: mont29 Reviewed By: mont29 Subscribers: sebastian_k Differential Revision: https://developer.blender.org/D1476
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-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-07-22Render preview: Make preview render database lazily loadedSergey Sharybin
Gives about 5-10% of startup time improvement here.
2015-07-21Fix T45496: Crash loading file during previewCampbell Barton
Regression from multi-view
2015-07-09Curve selection, de-duplicate & cleanupCampbell Barton
2015-07-02Render: Solve wrong vertex parent in linked objects with Locked UISergey Sharybin
The cleanup function was a bit too much aggressive here, made it much more conservative. It means memory usage will not be so low anymore, and to address this we'll need to make this function depsgraph aware.
2015-07-01Sequencer metadata:Antony Riakiotakis
Add option to render strip metadata to final result, bypassing current scene metadata.
2015-06-30Cleanup: move BLI_timestr to BLI_timecodeCampbell Barton
2015-06-08Fix yet another fullscreen glitchJulian Eisel
Steps to reproduce were: Toggle fullscreen->F12->F3->ESC 2x->3D View changed to Image Editor and didn't change back. Actually it doesn't work 100% as wanted since it exits the fullscreen when pressing ESC to exit Image Editor but it's hard to support all cases with such a weird spaghetti code.
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.
2015-06-08Cycles: Fix crash doing render preview of external OSL scriptSergey Sharybin
2015-05-28Aaaaand another fullscreen glitchJulian Eisel
Steps to reproduce were: Set a *Properties Editor* to fullscreen- >render->Info Editor is set to Image Editor instead of Properties Editor
2015-05-28Fix another fullscreen toggle glitchJulian Eisel
Steps to reproduce were: Set 3DView to fullscreen->render->toggle out of fullscreen->escape->Area doesn't change back to 3DView
2015-05-11Expose PreviewImage & custom icons to py API.Bastien Montagne
This commit mainly: * Exposes PreviewImage struct in RNA, including ways for user to set images data. * Adds a new kind of PreviewImage, using a file path and IMB_thumb to get image. * Adds a new kind of custom icon using PreviewImage, unrelated to ID previews system. * Adds a python API (utils.previews) to allow python scripts to access those custom previews/icons. Note that loading image from files' thumbnails is done when needed (deferred loading), not when defining the custom preview/icon. WARNING: for release addons who would want to use this, please keep it to a strict minimum, really needed level. We do not want our UI to explode under hundreds of different flashy icons! For more info, see also the release notes of Blender 2.75 (http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.75/Addons) and the example/templates featured with Blender. Patch by Campbell (ideasman42), Inês (brita) and Bastien (mont29). Differential Revision: https://developer.blender.org/D1255
2015-05-07Fix crash when rendering opengl from sequencer.Antony Riakiotakis
2015-05-06OpenGL render: Update metadata as before, for every frame written to aAntony Riakiotakis
file, since we need the updated times and frames. This was lost during stamp code refactoring. The refactoring moved the stamp when render is initialized so we would be guaranteed to have correct cameras even when saving render stills at a later time (and even if cameras were changed). For regular render this would work since render init takes care of stamp, but for openGL rendering we need to do this manually. Still not 100% correct, does not apply multiview cameras to metadata
2015-05-06Quick patch-up for opengl render metadata.Antony Riakiotakis
Camera here is incorrect for multiview (as is in real multiview render) but at least it works now.