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-05Code cleanup: use bool for static methodsCampbell Barton
2014-02-04Correct 3d text editing update logicCampbell Barton
- editmode operations were converting text->nurbs twice. - cursor and selection operations were re-tessellating text every time.
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-27Curves: save active point to fileKevin Mackay
Changed curve active point from pointer to index. Allows curve active point to be saved to file and retained between modes for free. Also some small optimisations by removing pointer look up code. - Made active point access functions into BKE API calls. - Fixes operators where curve de-selection resulted in unsel-active point. - Split curve delete into 2 functions
2014-01-18Increase maximum allowed amount of points for Splines in both U and V directionsSimon Repp
Increase the maximum allowed amount of points in a spline from currently 32,767 (short) to 2,147,483,647 (int). Change variables that get assigned the value from pntsu/pntsv to int type all over the codebase. Change function parameters that previously passed the count as short to int type as well. (because https://developer.blender.org/T38191) Reviewed By: sergey Differential Revision: https://developer.blender.org/D212
2014-01-16Fix T38217: Fix glitch adding Monkey with view alignCampbell Barton
added an option so view-align can default to a different axis.
2014-01-16Code Cleanup: no need to pass empty strings as default valuesCampbell Barton
2014-01-13Remove direct displist creation from BKE_vfont_to_curve_ex()Sergey Sharybin
This goes back to ancient era again and such a call isn't safe for threading and really DAG is to make it sure display list for dependencies is always there.
2014-01-13Code cleanup: no need to check display list elements in texture space matchSergey Sharybin
2014-01-13Select Random: add option to de-selectCampbell Barton
also made metaball operator behave like the others. Path originally from Walid Shouman, with own edits.
2014-01-12Style Cleanup: whitespaceCampbell Barton
2014-01-08Code Cleanup: de-duplicate text pasting which only used the first lineCampbell Barton
2014-01-08Text3d: improve error checking when pasting from filesCampbell Barton
2014-01-06Fix for own error in recent text3d changesCampbell Barton
Called important function from within an assert.
2014-01-05Text3d: avoid assert, clamp position before getting the selectionCampbell Barton
2014-01-05Text3d: fix font family feature for unicode and correct tooltipCampbell Barton
2014-01-05Text3d: paste additionsCampbell Barton
- Add paste from system clipboard which behaves like paste from file. - Paste from file now replaces the selection rather then just adding to the end. - Move paste operations into the 'Edit' menu. - Added generic paste functions: font_paste_wchar, font_paste_utf8. - Fix paste max length check not taking the selection length into account.
2014-01-04RNA API: use bool's for enum itemf callbacks.Campbell Barton
2014-01-03Text3d: store number of characters and utf8 length separatelyCampbell Barton
EditFont's use of Curve.len was very confusing, in editmode it represented the number of characters, in object mode the number of bytes. add Curve.len_wchar and keep track of both. Also don't convert the editmode text into utf8 on every keystroke. Now this is done on exiting editmode or save - to match most other object types. This also fixes curves 'body_format' being reported with an invalid size.
2014-01-03Text3d: avoid converting utf8 to wchar_t in editmodeCampbell Barton
2014-01-02Fix T37056: Making segment flips curves it's not neededSergey Sharybin
Made the system around splines order a bit smarter, so crating a segment between two splines wouldn't switch direction if splines are selected in a way that they're "co-linear". It is possible to make things even smarter using active point and so, but that i'd consider a TODO.
2013-12-29Text3d: add select all operatorCampbell Barton
also add Edit menu for 3d text and move cut/copy/paste there.
2013-12-29correction to previous commitCampbell Barton
2013-12-29Fix crash moving the cursor after deleting 3d textCampbell Barton
2013-12-29Text3d: add assert's to check the selection and length are validCampbell Barton
2013-12-29Text3d: setting upper/lower case now uses the selectionCampbell Barton
2013-12-29Text3d: remove redundant call to wcslenCampbell Barton
2013-12-29Fix for 3d text ctrl+arrow keys failing for multi-byte characters.Campbell Barton
2013-12-17'Transform' Python Function for armature, curve and lattice.Campbell Barton
patch by Paolo Acampora with some edits.
2013-12-13Curve Handle Recalculate (Ctrl+N)Campbell Barton
T37799 Patch from Simon Repp with added option to recalculate handle lengths.
2013-12-11Move curve's boundbox and texspace calculation out of modifier stackSergey Sharybin
There were several issues with how bounding box and texture space are calculated: - This was done at the same time as applying modifiers, meaning if several objects are sharing the same curve datablock, bounding box and texture space will be calculated multiple times. Further, allocating bounding box wasn't safe for threading. - Bounding box and texture space were evaluated after pre-tessellation modifiers are applied. This means Curve-level data is actually depends on object data, and it's really bad because different objects could have different modifiers and this leads to conflicts (curve's data depends on object evaluation order) and doesn't behave in a predictable way. This commit moves bounding box and texture space evaluation from modifier stack to own utility functions, just like it's was done for meshes. This makes curve objects update thread-safe, but gives some limitations as well. Namely, with such approach it's not so clear how to preserve the same behavior of texture space: before this change texture space and bounding box would match beveled curve as accurate as possible. Old behavior was nice for quick texturing -- in most cases you didn't need to modify texture space at all. But texture space was depending on render/preview settings which could easily lead to situations, when final result would be far different from preview one. Now we're using CV points coordinates and their radius to approximate the bounding box. This doesn't give the same exact texture space, but it helps a lot keeping texture space in a nice predictable way. We could make approximation smarter in the future, but fir now added operator to match texture space to fully tessellated curve called "Match Texture Space". Review link: https://codereview.appspot.com/15410043/ Brief description: http://wiki.blender.org/index.php/User:Nazg-gul/GSoC-2013/Results#Curve_Texture_Space
2013-12-083D Text: delete selection before pastingCampbell Barton
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-11-25Fix build warning in release mode with clang.Brecht Van Lommel
2013-11-24Code Cleanup: use math functions and reduce View3d axis drawing into a loopCampbell Barton
2013-11-20Fix T37543: Multiline 3D Text saved in edit mode breaks on loadCampbell Barton
2013-11-20Code Cleanup: remove unused members for editfont (3D text)Campbell Barton
2013-11-06Made active point and active spline behaviour more predictable on ↵Kevin Mackay
curves/surfaces: * deselect all no longer leaves an active point * the most recently added spline becomes the active one * on successful duplicate/delete the active point and active spline are reset
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-10-26rename give_cursor to ED_view3d_cursor3d_getCampbell Barton
2013-10-23style cleanupCampbell Barton
2013-10-17Patch [#37115] Surface split and separate operatorsKevin Mackay
Added surface support to recent curve split operator, completing quick hack todo Updated nurbs separate operator to make use of new split logic, completing tools todo Added 'Delete segment' option to surfaces and improved surface duplication, used for split/separate
2013-10-11code cleanup: use const's for static arraysCampbell Barton
2013-09-30lots of operator descriptions were incorrectly copy/pasted.Campbell Barton
update some descriptions, others were removed and operators tagged as internal. add a script to detect duplicate operator descriptions.
2013-09-16fix [#36537] "Grid Floor Scaling" can have some unexpected behaviour on new ↵Campbell Barton
objects curves and metaballs now behave the same as meshes wrt grid scaling. remove WM_operator_view3d_distance_invoke(), and replace with a function called from exec which initializes defaults, this way operators can have their own invoke functions.
2013-09-16move make_prim_radius_prop into a generic function.Campbell Barton
2013-09-16move editcurve add functions into their own source file editcurve_add.cCampbell Barton
2013-09-15- update bl_run_operators.py for change in blender.Campbell Barton
- rename curve delete operator vertices enum to match mesh delete operator. - add missing NULL checks to view3d_lock_poll() to prevent crashes when called outside a view3d.
2013-08-29edits to curve operatorCampbell Barton
- remove delete-all option (users can just select all and delete as with all other modes). - remove CALLOC_STRUCT_N macro. - CURVE_OT_delete define a dynamic enum rather then a custom invoke menu function.