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-02-06cleanup: styleCampbell Barton
2015-02-06GHash: no need to malloc iteratorsCampbell Barton
2015-02-06Cleanup: styleCampbell Barton
2015-02-05More fixes for high DPI:Antony Riakiotakis
* Radial operators were completely wrong * Dynamic topology detail was also using unscaled number
2015-02-02cleanup: style/spellingCampbell Barton
2015-01-31WM: empty menu so addons can extend the splashCampbell Barton
2015-01-31Compiler warning: double-promotionCampbell Barton
2015-01-29Fix T41757: Inconsistent hotkey label with setting.Bastien Montagne
Issue is double here: * Quite a handfull of menu entries actually diverge slightly from their shortcut counterpart (often one has a prop explicitely set to its default value, when the other keep it unset). * Current code was actually basically sending 'is_strict' option into canal, by doing a second check in `wm_keymap_item_find` setting unset op props to their default value! Now, is_strict mostly says one thing: "never consider an unset property as equal to a set one". Even if set property matches default value. Default values are not always the same things as unset ones, as demonstrated by this report. So we are being much stricter now, and also have to check shortcuts and menu entries definitions actually matches, added some code (triggered by --debug-wm option) that prints when it finds some (potential) issue. There is one exception though - Macros. Those have their whole prop set defined in menu entries currently, this shall probably not be the case, but is another issue, so for now for macro operators we always do non-strict comparison (pretty much the same as previously, in this case). Also 'enum' operators are still tricky. Currently, shortcut extraction relies on `ot->prop` being set, so even if this is not aboslutely needed anymore (when defining UI you can specify an arbitrary enum property by name), `ot->prop` shall be set. Note fix commit for mismatches between menu entries and shortcuts is needed next.
2015-01-29File Browser: Remove unused fileselect event valuejulianeisel
This was initially added for a later support of making the automatic File Browser fullscreen optional. As this idea was rejected for now (D1037) it doesn't really make sense to leave these things in.
2015-01-28Stacked fullscreen area support (proper implemenation)julianeisel
Adds support for stacked fullscreens. This basically means, if a user opens a temporary fullscreen mode, such as the File Browser or the Image Editor render view, from a different fullscreen, the "Back to Previous" function or the other ways to escape those temporary fullscreens don't return to the split screen layout but to the previous fullscreen he has been in. I already committed something similar (f7e844570fea862) but that was only supposed as a fix, it didn't work for the "Back to Previous" operator and the implementation wasn't really reusable. This one looks a bit nicer + makes some older hacks unnecessary :)
2015-01-27Fix T43309 saving takes longer.Antony Riakiotakis
Issue is that world shader compilation and loading may take long so we just draw file previews with premultiplied background. Should create the old familiar transparent background files. Thanks to Sergey for figuring out the issue.
2015-01-27Fix T43371 lamps not updated on appenidng. Remove GPU materials onAntony Riakiotakis
appeniding.
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-26UI: macro for checking modifiersjulianeisel
Useful for UI handling where its common to check multiple modifiers at once.
2015-01-25cleanup: warnings, spellingCampbell Barton
2015-01-25Cleanup: Ugly typo (retore->restore)julianeisel
2015-01-24BKE_image: use BKE_image_*** prefixCampbell Barton
use bools for return values and some api naming consistency.
2015-01-21Fix T43158: pixels in the 3d-view was mis-alignedCampbell Barton
Change the pixel offset for regions, it make oversampling blurry when drawing pixel aligned values. See T41749
2015-01-20Fix for Trusted option, loading new fileCampbell Barton
Would use the setting of the previously loaded file, now re-initialize from preferences.
2015-01-20Fix UI glitches drawing text at different sizesCampbell Barton
Font height was ignoring DPI in some cases (camera-name & eyedropper).
2015-01-20UI: cleanup UI_fontstyle_string_width, UI_draw_stringCampbell Barton
Both were maked as temp, but used often. Now pass uiFontStyle to both, rename UI_draw_string to UI_fontstyle_draw_simple, since its a variant of UI_fontstyle_draw that skips shadow, align... etc.
2015-01-19WM: add a notifier for camera/viewport optionsCampbell Barton
Added so viewport options only used in a camera view wont cause all 3d-views to redraw.
2015-01-15Revert "Make version_update() callback being invoked when linking/appending ↵Sergey Sharybin
datablocks" This reverts commit fbc2909cef83bce722fab8c68e49c878603b4ee8. The reason for revert is that the commit made it so bpy.data is not set to any of the new main (on both file open and file link/append) which basically totally broke versioning code. Needs some smarter solution there.
2015-01-14cleanup: minor editsCampbell Barton
2015-01-14Workaround/Fix T43139: Calling bpy.ops.screen.screen_full_area() multiple ↵julianeisel
times in python console causes Blender to crash This was sort of a chicken<->egg dilemma, because after a maximized screen was restored, the screen handling used region coordinates which weren't updated yet. I'm still not sure why, but this resulted in area coords that go beond INT_MAX. To fix this I made sure the first screen handling after restoring a maximized screen is skipped, so that it's delayed to the next call of wm_event_do_handlers (since this is called from main loop there shouldn't be a noticable delay or any handling glitches).
2015-01-13Cleanup: fixes for building with recent clangCampbell Barton
2015-01-13Make version_update() callback being invoked when linking/appending datablocksSergey Sharybin
This way addons and render engines which needs to do versioning code on files will properly do it when something is being linked or appended to the scene. Previously that callback was only called for the local main only, making it impossible to do tweaks on linking.
2015-01-12Fix T42754: File-Selector lost on fullscreen exitCampbell Barton
There was a hard-coded check to exit the fileselector when restoring a view. Now, when space types differ, flag areas as temporary and switch back to the previous type only in this case. This means you can select a file while having a file-selector space type open, and not loose it every time.
2015-01-12Second try to fix missing previews of mat/tex/etc. in .blend files.Bastien Montagne
This time, it's a dedicated operator user has to run before saving the file. And it recursively check all IDs linked from each scene, therefore rendering materials etc. previews using a scene they are used in. Note the renderengine issue is not completely addressed this way (existing code for icon previews seems to ignore completely other engines, and IDs not linked anywhere (fake-user ones) will be rendered with current scene's engine as fallback, also you can get a material linked to an hidden object in a scene, etc.). Reviewers: sergey, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D980
2015-01-12revert part of 7a1dc20Campbell Barton
These warnings are false positives & confuses intended logic to set dummy values.
2015-01-11Cleanup: quite some harmless but noisy warnings from gcc...Bastien Montagne
2015-01-09Radial operator number angle input should use angles.Antony Riakiotakis
Much more lenient if you are a human.
2015-01-07Quite warning about unused func.Bastien Montagne
(not my day...)
2015-01-07Remove 'ensure previews' call from write code.Bastien Montagne
Sorry about that, should have checked this stuff more, with Internal material renders are very fast (unoticable), but with Cycles it can take (a lot of) time, like several minutes or more. Will probably fall back to a dedicated operator users will have to fire themselves when they want previews in their files.
2015-01-07More tweak to preview commit - do not 'render' non-used IDs either.Bastien Montagne
Thanks to Campbell for the headup.
2015-01-07Ensure mat/tex/etc. previews are generated/saved in .blend files when ↵Bastien Montagne
enabled in userprefs. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D970
2015-01-06Event System Cleanup: Modifier Key Assignment Switchjulianeisel
Was quite messy previously, think this is much more readable and easier to follow.
2015-01-06Fix T40435: Fix event system modifier key handlingjulianeisel
This partial reverts rBd800cffaf10cb7, but fixes T40435 (Background label is not redrawn). It now isn't possible to use single modifier keys as shortcuts anymore. But this is something that's not really useful at all, since it breaks more than it allows.
2015-01-04FileBrowser: Cleanup: rename some (really ugly) enum names.Bastien Montagne
2015-01-01GPencil Editing: Copy and Paste selected stroke segments with Ctrl-C and Ctrl-VJoshua Leung
2014-12-26Put editor initialization before python.Antony Riakiotakis
Initially it was moved to allow setting keymaps of python defined menus in C but looks like it breaks macro definition in python. Thanks to Julian for tracking this down. It should fix T42485
2014-12-14IME fix: Quit two assert failuresSeverin
We could now also remove the win->ime_data assert in wm_window_IME_end, but think it's better to leave it for further development.
2014-12-12Amend to previous 'append warning' commit.Bastien Montagne
Actually, append/link *is* converted/updated, issue here is IPO-to-FCurves code is not called from our do_version code, but later, directly from BKE_blender's setup_app_data. This is bad but not easily fixed it seems, so for now keep a warning in this case. thanks Sergey for the headup.
2014-12-12Fix T42882: Now warn user when trying to append/link from older blender files.Bastien Montagne
Since we do not make any conversion in this case, worth warning user about potential issues!
2014-12-09Gooseberry request, circle select for graph editorAntony Riakiotakis
2014-12-08Docs: reference the new manualCampbell Barton
2014-12-08Cleanup: spellingCampbell Barton
2014-12-08Cleanup: remove unused operator-type memberCampbell Barton
2014-12-07Input Method Editor (IME) support for text buttonsSeverin
Original patch by @random (D765) with some minor work done by @campbell and me. At this place, I'd like call out a number of people who were involved and deserve a big "Thank you!": * At the first place @randon who developed and submitted the patch * The Blendercn community which helped a lot with testing - espacially * @yuzukyo, @leon_cheung and @kjym3 * @campbellbarton, @mont29 and @sergey for their help and advises during * review * @ton who realized the importance of this early on and asked me for * reviewing We are still not finished, as this is only the first part of the implementaion, but there's more to come!
2014-12-06CMake: remove redundant include dirCampbell Barton