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-04-07OpenGL: use PRIM instead of GL enum for immBeginMike Erwin
Getting ready for a Gawain API change... Part of T49043
2017-04-06Gawain: VertexFormat_add_attrib (function name change)Mike Erwin
See intern/gawain for the API change. Other files are updated to use the new name. Also updated every call site to the recommended style: unsigned int foo = VertexFormat_add_attrib(format, "foo", COMP_ ... )
2017-02-22Cleanup: StyleJulian Eisel
2016-10-13immediate mode: use new ThemeColor functionsDalai Felinto
2016-09-20immediate mode refactor: fly navigation squareDalai Felinto
2016-08-18NDOF: compile 3D mouse code only if WITH_INPUT_NDOFMike Erwin
When WITH_INPUT_NDOF is disabled, 3D mouse handling code is removed from: - GHOST (was mostly done, finished the job) - window manager - various editors - RNA - keymaps The input tab of user prefs does not show 3D mouse settings. Key map editor does not show NDOF mappings. DNA does not change. On my Mac the compiled binary is 42KB smaller after this change. It runs fine WITH_INPUT_NDOF on or off.
2016-07-06Replace of (id->lib != NULL) check by meaningful macro.Bastien Montagne
Idea is to replace hard-to-track (id->lib != NULL) 'is linked datablock' check everywhere in Blender by a macro doing the same thing. This will allow to easily spot those checks in future, and more importantly, to easily change it (see work done in asset-engine branch). Note: did not touch to readfile.c, since there most of the time 'id->lib' check actually concerns the pointer, and not a check whether ID is linked or not. Will have a closer look at it later. Reviewers: campbellbarton, brecht, sergey Differential Revision: https://developer.blender.org/D2082
2016-03-28Fix T47958: Crash in Walk or Fly Navigation in Camera mode when invoking ↵Bastien Montagne
from non-3DView region
2015-10-22BLI_math: axis_angle_to_quat_singleCampbell Barton
Useful to avoid defining a vector for an axis-aligned rotation. Matches axis_angle_to_mat3_single behavior.
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-07-12Add new modalkeymap usage in helper header message to Fly mode.Bastien Montagne
2015-04-21BLI_string: add BLI_snprintf_rlenCampbell Barton
use when the length of the destination string is needed.
2015-04-04Cleanup: redundant normalize in expmap_to_quatCampbell Barton
2014-08-13SpellingCampbell Barton
2014-03-17UI: Add theme color for viewport overlayCampbell Barton
Was using wire or black in many places, this color is used for cursor, camera guides, transform helper lines. So its possible to have a dark background with light overlay color. Patch D331 by Brita, with some edits.
2014-02-22Minor UI messages fixes.Bastien Montagne
2014-02-22NDOF: fix for view3d ignoring lens values when panningCampbell Barton
image, mce, view2d and view3d now have matching pan speed.
2014-02-19Code cleanup: de-duplicate ndof controls for walk/fly modeCampbell Barton
2014-02-18fix - T38561: Fly mode vs. Walk Mode Navigation Keyboard ControlsDalai Felinto
* QE as up/down to Fly Navigator * Alt as slow modifier to Fly Navigator * Update on Walk header info Note: I left the original RF/Ctrl shortcuts working for fly navigator but they are no longer visible in the header info. So old users will still be using what they were used to, while new ones get used to what walk navigation is using.
2014-02-18NDOF: Fix for fly/walk mode ignoring axis invert optionsCampbell Barton
2014-02-17NDOF: remove bias for translationCampbell Barton
Was noticeable (and annoying) that different axis had different speed, if we want to have axis bias better do as a user preference.
2014-02-12Add header info for the Fly Navigation operatorDalai Felinto
2014-02-04Fix for view lock checks with ndof ops, was incorrectly comparing flagsCampbell Barton
2013-12-10fix: Fly Navigation centered in viewport, not in camera viewDalai Felinto
Summary: The safe zone, mouse and everything else was relative to the viewport. It should be relative to the camera 'view' instead. This problem (noticed while developing the Walk Navigation) happens when the camera is not centered in the viewport. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: http://developer.blender.org/D78
2013-12-03Code Cleanup: minor changes fly-mode edits, use copy_v3_fl3, remove commentsCampbell Barton
2013-11-28View3D: split camera controlling parts of fly mode into their own functionsCampbell Barton
2013-11-19Code Cleanup: style, spelling and pep8 editsCampbell Barton
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-09-04tweaks to fly modeCampbell Barton
- rotating the view is faster. - arrow keys work (was only wasd-rf before) - when stationary wheel or +/- will set z direction (so mouse wheel always sets the fly axis back to z)
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-06-26correct typos in comments.Campbell Barton
2013-06-13fixes for using scaled camerasCampbell Barton
- ED_view3d_from_m4() got incorrect rotation from scaled cameras, was noticable with smoothview transitions. - when you lock the camera to the view, any view edits would reset the cameras scale to 1. - another problem with view locking if the camera was scaled and had a parent, the parent would be transformed incorrectly. - fly mode was chaning object scale a little over time, now restore after applying scale so it never changes.
2013-06-06fix [#35650] parented camera behaviorCampbell Barton
fly mode with parenting was broken for both locked/unlocked parent mode.
2013-05-29Make sure bool will always have the same size in C and C++Sergey Sharybin
There were an issues with data structures defined in headers and being used by both C and C++ on systems with stdbool unavailable. This happened because bool in this case will be defined as unsigned int, which is 4 bytes. But C++'s bool is only 1 byte and this lead to alignment issues. Now bool is always 1 byte, also made sure there's no situation like bool foo = BitField & BitFlag, which could give overflow issues. Use (BitField & BitFlag) != 0 instead. Fixes #35553: Compositor broken (Backdrop & Preview)
2013-05-26BLI_math rename functions:Campbell Barton
- mult_m4_m4m4 -> mul_m4_m4m4 - mult_m3_m3m4 -> mul_m3_m3m4 these temporary names were used to avoid problems when argument order was switched.
2013-05-03disable view3d dolly, move, pan -- when the view offset is locked, also ↵Campbell Barton
corrected fly modes offset lock check and added ED_view3d_offset_lock_check() to reuse between functions.
2013-04-12Fix #34961: camera fly mode would reset camera scale.Brecht Van Lommel
2013-03-21fix for incorrect use of 'bool', also fix 2 older bugs in fly mode.Campbell Barton
- panning didnt keyframe translation animation. - when checking to key translation: speed `float` was converted to an `int` then treated as a bool, now check (speed != 0).
2013-03-21code cleanup: use bool where values are true/false, for view3d and related ↵Campbell Barton
functions.
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-01-08Added trackpad (and magic mouse) support to control speed in Fly Mode in 3d.Ton Roosendaal
2013-01-08style cleanupCampbell Barton
2012-12-20style cleanupCampbell Barton
2012-11-25code cleanup: warnings, styleCampbell Barton
2012-10-28Another leftover debug print, sorry!Ton Roosendaal
2012-10-27Bugfix #32823 (probably) or from Thomas Dinges in irc:Ton Roosendaal
- Camera mode fly a bit - Apply view change - Middlemouse to go out of camera view Zoom then fails. Appears the flymode is resetting values that have to be set. The bugreporter claims same, but blames it on particles ;)
2012-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-22style cleanupCampbell Barton
2012-10-21style cleanup: commentsCampbell Barton
2012-10-10fix for crash when entering fly mode in a camera view that has no camera ↵Campbell Barton
(rare but possible situation).