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
2014-02-22Fix T38743: Modal input feature appears to be missing from 2.70 test buildsBastien Montagne
Add 'pad *' in addition to '=' to toggle basic/advanced numinput modes.
2014-02-20Transform: revert to 2.69 numeric input behavior by defaultBastien Montagne
This allows to get the same "quickies" as in previous (2.69) code, (XYZ, -/, etc.), yet keeping nice non-conflicting new stuff like cursor navigation or copy/paste. You can switch to full mode hitting '=', and back to simple mode hitting 'ctrl ='.
2014-02-03Fix T38424: modal number input ctrl - did not work, only ctrl numpad -.Brecht Van Lommel
Since there isn't always a numpad available this should work.
2014-01-08Fix issues with float precision in numinput, like 'R 123' who would show ↵Bastien Montagne
additional 'noise' digits. Expose float precision helper in UI_interface.h API, so that numinput can use this helper as numbuttons already do. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D186
2014-01-08Code Cleanup: de-duplicate text pasting which only used the first lineCampbell Barton
2014-01-08Fix for inorrect use of BLI_utf8_invalid_strip, add assert to prevent it ↵Campbell Barton
happening again.
2014-01-08Much better solution for negate/inverse in numinput.Bastien Montagne
Previous one was way over complicated, and did not worked with units!
2014-01-07Fix a small glitch with string generated by numinput, they could cut ↵Bastien Montagne
multi-bytes utf8 chars (like the '°' of angle values), now call BLI_utf8_invalid_strip() to prevent this.
2014-01-04UI: Use bool rather then int/short's where possibleCampbell Barton
2014-01-02Add back - and / shortcuts in modal numinput (as other 'special' keys, you ↵Bastien Montagne
have to use ctrl to activate them)...
2013-12-31Fix T37992: german NUMPAD-COMMA is not tranlated to decimal dot (for modal ↵Bastien Montagne
numinput).
2013-12-21Support units in modal numinputBastien Montagne
Summary: This completly changes the way modal numinput is handled. Now, edited expression is a string, which then gets unit- and py-evaluated to get a float value. We gain many power and flexibility, but lose a few "shortcuts" like '-' to negate, or '/' to inverse (if they are really needed, we still can add them with modifiers, like e.g. ctrl-/ or so). Features: - units (cm, ", deg, etc.). - basic operations from python/BKE_unit (+, *, **, etc.), and math constants and functions (pi, sin, etc.). - you can navigate in edited value (left/right key, ctrl to move by block) and insert/delete chars, e.g. to fix a typo without having to rewrite everything. - you can go to next/previous value with (ctrl-)TAB key. - As before, hitting backspace after having deleted all leading chars will first reset the edited value to init state, and on second press, the whole "modal numinput" editing will be cancelled, going back to usual transform with mouse. Notes: - Did not touch to how values are shown in header when modal numinput is not enabled (would do that in another commit), so this is still quite inconsistent. - Added back radian support in BKE_unit. - Added arcminute/arcsecond to BKE_unit. (those unit changes affect all angle UI controls, btw, so you can now enter radians or longitude/latitude values when in degrees units). Related to T37600. Reviewers: brecht, campbellbarton, carter2422 Reviewed By: brecht, campbellbarton, carter2422 Thanks everybody! Differential Revision: http://developer.blender.org/D61
2013-10-23code cleanup: minor transform refactorCampbell Barton
redraw flag were mixing up types - int/char/bool, add enum type to use instead.
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2012-11-26fix for uninitialized memory use with numeric input:Campbell Barton
bevel/inset/marker-move would use uninitialized memory when used as modal operators and pressing backspace after entering values.
2012-10-01quiet some warnings.Campbell Barton
2012-07-14Fix [#32086] Missing bevel "hold shift" for better accuracy.Bastien Montagne
This commit adds "shift" and numtype to both Bevel and Inset mesh operators. It also gets rid of the magicnumber used in NumInput to str operation (currently, 20 chars per element, now defined as NUM_STR_REP_LEN in ED_numinput.h).
2012-05-10fix [#31382] Loop Cut and Slide numpad (-)Campbell Barton
investigation lead to finding 3 bugs here... - transform key input handling didnt ignore minus key on an unsigned value as it should. - not being able to set numcuts to 0 made typing in numbers not very useful. - backspace would set the cuts to an unsigned value.
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-03-30style cleanupCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-01-11use BLI_strncpy and BLI_snprintf when the size of the string is known.Campbell Barton
fix for sequencer unique naming which was missed with string length update.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-03-30- include for BGE joystick sensorCampbell Barton
- remove print from numinput and get rid of some float/double warnings. - nicer align line-number in text editor.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-08-08remove unused includesCampbell Barton
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-02-23Move increment value into numinput structure.Martin Poirier
Easier for transform to have different values per transform then (also different from gears values). (Based on a bug reported by Jonathan Smith)
2010-02-20Split numinput from transform (reusable in other operator).Martin Poirier
Use in marker move operator.