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
2012-11-07== file browser ==Andrea Weikert
[#33080] Backup icons - further integration Contributed by Georg Kronthaler, many thanks! * enables display of correct file icon on splash screen and in Open Recent menu * exposes filter_backup in the python api * enables setting BLENDERFILE_BACKUP as active filter in file browser from wm_operators.c (and from .blend in case this setting will be saved in the future) * adds a comment to slightly misleading function name file_is_blend_backup() * Updates icon for backup files to be more consistent with icon for .blend files
2012-11-06Bugfix #33092Ton Roosendaal
Fluid sim would stop or crash with node editor. Bug was a real bad one - the code for giving out WM jobs was messed up for long. It was giving a running fluid job to the compositer even... tsk! I will go over jobs code carefully next days to see if it all behaves. Now it allows per owner multiple jobs, provided it has different job_type set. Also fixed: preview renders (material) were deadslow once a while - caused by icon render setting miniature tile render sizes. Now it's fast again, but there are still 3 icon jobs running per UI change... need to check what.
2012-11-06Bugfix: on Linux (X11) the inactive window was not getting mouse-move events.Ton Roosendaal
This feature has been working in OSX for long - to see mouse-overs on buttons from inactive windows (and tooltips) and allow a button to be active for input right away. Will need check by linuxers if this works satisfying. Also Windows now might support this feature.
2012-11-06Bugfix #33096Ton Roosendaal
Code drawing paint cursors in regions didn't check for zero-sized regions well. Causing error prints: wmSubWindowScissorSet 0: doesn't exist Harmless, but nicer to handle it correct :)
2012-11-04Merged changes in the trunk up to revision 51853.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c source/blender/bmesh/operators/bmo_utils.c This commit also includes a fix of a bug identified during the merge and committed in revision 51853. Thanks Thomas (dingto) for the timely fix!
2012-11-03code cleanup: float <> double conversion.Campbell Barton
2012-11-02all remove functions now invalidate the RNA objects passed, to help script ↵Campbell Barton
authors to avoid bugs with accessing removed data.
2012-11-01fix for release buildingCampbell Barton
2012-11-01Bugfix [#33036] Invalid memory read in wm_handlers_do (valgrind warning)Ton Roosendaal
2012-11-01Bugfix #33038Ton Roosendaal
TIMER events could get keymodifier set - in this case the user assigned spacebar modifier for setting views (running smoothview timer) Also: cleaned op old hacks from event checking code. The rule should be: 1) generate event properly, frozen state 2) pass on to handlers without exceptions or changing internal state The only exception currently is for the "CLICK" (map key-release to unhandled key-press). Also: made --debug-event print OK. Slight cleanup in eventprinting in general. It was putting the wmEvent state print in wrong place, doing it 4 or 8 times.
2012-11-01fix for possible buffer overflow in gpu_nodes_get_vertex_attributes() and ↵Campbell Barton
hair_velocity_smoothing() and a unlikely NULL pointer dereference in unlink_material_cb().
2012-11-01fix [#30910] Problems: Add Shortcut(s) for "Ctrl Tab" menuCampbell Barton
comparing keymaps was too sloppy or too strict, now sloppy keymap comparison works by setting all the operator properties to their default values if they are not already set, then compare this with the keymap item (ignoring values missing from either one). ... this way any non default keymap setting wont match with an operator menu item which doesnt set this operator at all (a problem sighted in this bug report). developer notes: - IDP_EqualsProperties_ex() function adds an argument to treat missing members of either group to act as if there is a match. - WM_operator_properties_default() function to reset RNA values to their defaults. - add IDP_spit(), debug only function to print out ID properties.
2012-10-31Bugfix #33031Ton Roosendaal
Holding down non-modifer keys was generating double-clicks - my fault!
2012-10-31Bugfix #33032Ton Roosendaal
(since 2010) - Using 2-button mouse emulation (common for tablets) - Press LMB, start painting, press ALT, release LMB - This kept painting to run, since the release event was a MMB, not handled by paint code.
2012-10-31no longer use 'check_existing' to see if we need to have a save popup, ↵Campbell Barton
instead use 'exec' operator on a saved file and invoke on unsaved files. correct missing memset --> CustomData_reset switch too.
2012-10-31fix [#30479] Exclamation mark '!' doesn't input with AZERTY keyboard mappingAndrea Weikert
For the french keyboard setting (AZERTY) on Windows, the '!' came back with winevent->type=312, winevent->ascii='!' and the ISTEXTINPUT only matched key codes up to 255. Now replaces with ISKEYBOARD in wm_eventmatch.
2012-10-30remove CD_POLYINDEX customdata layer:Campbell Barton
reported as [#29376] BMESH_TODO: remove tessface CD_ORIGINDEX layer for a single mesh there could be 3 origindex mappings stored, one on the polygons and 2 on the tessfaces. (CD_POLYINDEX and CD_ORIGINDEX). as Andrew suggests, now tessfaces (which are really a cache of polygons), using origindex to point to polygons on the same derived mesh, and polygons only store the original index values.
2012-10-30style cleanupCampbell Barton
2012-10-29To keep my commit rate high! :)Ton Roosendaal
2012-10-29Yet another hanging variable in event code - code cleanup woes.Ton Roosendaal
This should make trackpads work.
2012-10-29Bugfix #33004Ton Roosendaal
Screencast recording stopped on a undo/redo. This was because all thread jobs were killed then. Now it leaves screen jobs (screen cast) running, that's data that doesn't change on undos. Also renamed jobs_stop_all() to jobs_kill_all() - it terminates threads.
2012-10-29Fix to make NDoF work again.Ton Roosendaal
2012-10-29New woes in event system :) Ton Roosendaal
Last cleanup resulted in the dreaded "Click" to fail again. Commented it.
2012-10-29A last (I hope) tweak for double click detection.Ton Roosendaal
2012-10-29Bugfix #32996Ton Roosendaal
Backspace event is messed up - it was inserting weird characters in the editors. Added check for proper keypress now. Will check real issue later.
2012-10-29style cleanupCampbell Barton
2012-10-29Merged changes in the trunk up to revision 51718.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c source/blender/makesrna/intern/rna_scene.c release/datafiles/startup.blend
2012-10-28style cleanupCampbell Barton
2012-10-28Event system fix:Ton Roosendaal
Now modifier key press gets generated without having own modifier set. Same happens for double clicks on modifiers. This also fixes case: press shift twice first, modifier fails.
2012-10-28Event system cleanup: bringing KM_CLICK back in control. Ton Roosendaal
- Solved Modal Keymap hijack of event codes (with note this should be coded better) - Added dedicated state variable check_click in event to trigger it All this in an attempt to get code understandable and predictable again. :) This solves error like: - editmode mesh - select a vertex - grab it, press control for grid snap - on LMB assign, it also did an extrude.
2012-10-27add --debug-handlers so --debug-events isnt so noisy.Campbell Barton
2012-10-27add back debug prints for event handlers. not sure why they were removed in ↵Campbell Barton
r51683
2012-10-27Another tweak in event code to get KM_CLICK work.Ton Roosendaal
It was copying 'prevval' and 'prevtype' too often - can cause issues with different event systems or perifirals.
2012-10-27Putting back mysterious lines that check KM_CLICK keymap conflictsTon Roosendaal
It's a real puzzle this click bizz!
2012-10-27The UI wasn't capable of handling Double Click events; causing fast typing toTon Roosendaal
not work. This is a temporary fix to make button type work. I'll check on other cases now too. Best would be to have UI code return correct flags for whether it has done something or not. This hasn't been coded really - so that's a todo for a later cleanup there.
2012-10-27style cleanupCampbell Barton
2012-10-26Bugfix for new handling of double-click:Ton Roosendaal
The modifier keys were getting own key as modifier :) Made it not possible to use them for events. Still open issue: for some reason modifer key 'press' gets swallowed. Digging into that.
2012-10-26Bugfix #28734Ton Roosendaal
Double clicks were never working reliably in Blender - this mostly because it wasn't a real event, but something generated in the handler code. Now it is an actual event - meaning it always gets handled (if you have a keymap item for it of course), but if there's no doubleclick handling it treats the doubleclick as a normal click. Also cleaned code. No recursion anymore.
2012-10-26fix [#31661] Custom properties do no respect min/max valuesCampbell Barton
also renamed function added prev commit
2012-10-26fix for crash when a python operator or render engine was freed in the C ↵Campbell Barton
code and then referenced from python. now further access in python gives an exception at the line when the freed data is accessed.
2012-10-26fix [#30087] operator_context is different for popup and submenu's *TODO, ↵Campbell Barton
after 2.62* having context different for menu vs submenu is quite confusing, now they are both: WM_OP_INVOKE_REGION_WIN this changes WM_menu_invoke behavior.
2012-10-25fix [#32938] The Splash Screen doesn't show up correctly .....Campbell Barton
applying window clipping to the splash on startup gave strange/annoying problems.
2012-10-25Fix #30940: layout.prop_search() item not drawing correct inside menus.Brecht Van Lommel
2012-10-24add section on how to run scripts in blender for the API intro, found there ↵Campbell Barton
were no simple docs like this in the wiki. also set the window type to normal on start when -p argument is given, since the view could be maximized/fullscreen.
2012-10-24fix for maximized startup blend preventing -p command line argument from ↵Campbell Barton
working.
2012-10-24use min_ii/max_ii over MIN2 MAX2Campbell Barton
2012-10-23debug output: stop printing event handlers for mouse moves of mouse ↵Campbell Barton
inbetween events.
2012-10-22New "dynamic" i18n menu.Bastien Montagne
Now both UI translation menu (in userprefs) and isocodes are defined in a text file (release/datafiles/locale/languages), parsed at lunchtime. This way: * No more need to edit Blender code each time we want to add an new language or reorganize the existing menu; * Translators can easily add a new language for testing, by just editing the text file, so no more need to ask to change Blender code and wait for a new build to see your new translation work in Blender! Remaining todo: * Commit i18n py tools * Update wiki doc!
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-21code cleanup: spellingCampbell Barton