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
2017-07-19Fix T51969: Filebrowser "Open File" button disappear when double-click thumbnailJulian Eisel
This reverts commit 82ba89b042e7067 (which caused T51969) and adds an alternative fix (don't unset area stored in modal handler for fileselect handlers).
2017-07-19Manipulators: use nearest manipulatorCampbell Barton
Add utility function to get the nearest hit
2017-07-18Merge branch 'master' into blender2.8Campbell Barton
2017-07-18Cleanup: use WM_event prefix for modal_tweak_exitCampbell Barton
2017-07-18WM: move WM_event_is_last_mousemove to the WM APICampbell Barton
2017-07-18Merge branch 'master' into blender2.8Campbell Barton
2017-07-17Work around small DPI resulting in blurry fonts, clamping auto DPI to ↵Brecht Van Lommel
minimum 96. Since we added auto DPI on Linux, on some systems the UI draws smaller than before due to the monitor reporting DPI values like 88. Blender font drawing gives quite blurry results for such slightly smaller DPI, apparently because the builtin font isn't really designed for such small font sizes. As a workaround this clamps the auto DPI to minimum 96, since the main case we are interested in supporting is high DPI displays anyway. Differential Revision: https://developer.blender.org/D2740
2017-07-17Fix crash re-registering the same manipulator typeCampbell Barton
Wasn't unlinking from the group instance.
2017-07-14Workspace: Fix crash on preview, and sanitize placeholder functionsDalai Felinto
This commit effectively makes workspace switching useless as far as the active scene layer goes. The functions from the scene layer API to get the correct scene layer from "context" were a placeholder to be addressed by the workspace commit. When workspace was merged, however G.main was used as a replacement to pass the correct argument for the functions. As it turned out (surprise!) this leads to crash on render preview. We need to get rid of: * BKE_scene_layer_context_active_ex_PLACEHOLDER * BKE_scene_layer_context_active_PLACEHOLDER And either use SceneLayer explicitly or replace it by: * BKE_scene_layer_from_workspace_get
2017-07-14Fix T51945: LMB select swaps manipulator buttonsCampbell Barton
2017-07-13Cleanup/rename etc. dashed line shaders.Bastien Montagne
Goal is to make them more modular, to allow more variants (variable single-color, thickness, ...) to be added without having to copy-and-change-one-line of whole chain of shaders.
2017-07-10Merge branch 'master' into blender2.8Campbell Barton
2017-07-10Error in last commitCampbell Barton
2017-07-10Fix T51998: Anim player uses 100% CPUCampbell Barton
The loop running with no events didn't sleep. Now wait for events when paused.
2017-07-08Merge branch 'master' into blender2.8Brecht Van Lommel
2017-07-08Fix build after previous commit.Brecht Van Lommel
2017-07-08Merge branch 'master' into blender2.8Brecht Van Lommel
2017-07-08Fix T51889: new file or load factory settings results in broken UI.Brecht Van Lommel
Fix some cases that still assumed there to be a global DPI, instead of a per window DPI that needs to be set before reading U.dpi.
2017-07-03Merge branch 'master' into blender2.8Alexander Romanov
2017-07-03Fix T51889: broken UI after File > New without a userpref.blend.Brecht Van Lommel
BLO_update_defaults_userpref_blend() was being run when no user preferences were loaded from memory.
2017-07-01Cleanup: unused definesCampbell Barton
2017-06-29No need to free all the shaders when appending or reloading librariesDalai Felinto
To recompile all the shaders is expensive. And something to be avoided at all costs. It was needed before because for every new lamp in the file we needed to recompile the shaders. Now this is no longer required since we are using UBOs for the sahders.
2017-06-27Merge branch 'master' into blender2.8Campbell Barton
2017-06-26Fix T51902: Severe problem with relocating linked libraries when using proxies.Bastien Montagne
Fix is a bit ugly, but cannot think of another solution for now, at least this **should** not break anything else. And now I go find myself a very remote, high and lonely mountain, climb to its top, roar "I hate proxies!" a few times, and relax hearing the echos...
2017-06-26Rename wmManipulatorPropertyType.type -> data_typeCampbell Barton
2017-06-26Manipulator: use 'void *' for callback data argsCampbell Barton
Non-float properties should be editable too.
2017-06-26Building without Python works againCampbell Barton
2017-06-26Merge branch 'master' into blender2.8Campbell Barton
2017-06-26Manipulator: name setting functionCampbell Barton
Default name includes group-name, we may want to set the name without a prefix.
2017-06-26Manipulator: add optional properties argumentCampbell Barton
Needed for RNA/Py API
2017-06-24Fix T50856: crash when minimizing window on AMD / Windows.Brecht Van Lommel
2017-06-23Manipulator: partial depth supportCampbell Barton
Use the depth flag added for this purpose. Although this only works for regular currently, not selection.
2017-06-23Manipulator: flip scale flag usageCampbell Barton
Naming was confusing, while technically correct - the result is no scaling (manipulator ignores zoom-level). Also remove 3D from name since this can be supported for 2D views too.
2017-06-23Manipulator: rename struct membersCampbell Barton
Rename: - matrix -> matrix_basis - user_scale -> scale_basis - scale -> scale_final Match RNA names being added to custom-manipulator branch.
2017-06-23Manipulator: add tweak-snap (not used yet)Campbell Barton
2017-06-23Manipulator: fix broken hover optionCampbell Barton
Hover flag caused manipulators not to update (Camera DOF works again).
2017-06-22Manipulator: target property definitionsCampbell Barton
Changes from custom-manipulator branch. - use property type definitions. - add property free callback. - move properties into the wmManipulator struct (over alloc). - use array length from property types instead of arg passing.
2017-06-21Manipulator: edit_properties -> target_propertiesCampbell Barton
Naming was too confusing between properties of a manipulator and properties it edits.
2017-06-21Manipulators: move settings to ID propertiesCampbell Barton
This makes manipulator access closer to operators, and allows Python access. This adds RNA for manipulators, but not Python registration yet. - Split draw style into 2x settings: `draw_style` (enum) & `draw_options` (enum-flag) - Rename wmManipulator.properties -> properties_edit, Use wmManipulator.properties for ID-properties. Note that this area of the API will need further work since manipulators now have 2 kinds of properties & API's to access them.
2017-06-19Manipulators: store operator type instead of idCampbell Barton
Avoids lookups on each access.
2017-06-19Gawain API naming refactorCampbell Barton
Use consistent prefix for gawain API names as well as some abbreviations to avoid over-long names, see: D2678
2017-06-19Manipulator: use ui-scale for widgetsCampbell Barton
2017-06-19Manipulator: de-duplicate flags and scale optionCampbell Barton
2017-06-18Manipulator: commentsCampbell Barton
2017-06-18Manipulator: use matrix for manipulator directionCampbell Barton
Remove type-specific axis functions.
2017-06-17Manipulator: use matrix instead of originCampbell Barton
This avoids having to use manipulator-type specific functions to set the orientation. And will make it simpler to access transformation from Python. Currently the matrix is still used as an offset in places. Also per-type orientation values still need to be removed.
2017-06-17Manipulator: remove type specific 'new' functionsCampbell Barton
Instead use generic 'WM_manipulator_new', adding a new 'setup' callback (like wmManipulatorGroup.setup) used to initialize type vars. This moves conventions closer to wmOperator and simplifies exposing to Python.
2017-06-16Manipulator: add array get/set functionsCampbell Barton
2017-06-16Missed last commitCampbell Barton
2017-06-16Cleanup: rename manipulator filesCampbell Barton