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-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-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-20Code Cleanup: tabs/spaces, no need to call CTX_data_edit_object twiceCampbell Barton
2014-01-20Fix T37967: autosave does not save dynamic topology edits while in sculpt mode.Brecht Van Lommel
2014-01-20Fix T38269: scene full copy in mesh edit or sculpt mode did not copy mesh edits.Brecht Van Lommel
2014-01-12Style Cleanup: whitespaceCampbell Barton
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-04CMake: cleanup and add includeCampbell 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-26Code Cleanup: remove object arg to CDDM_from_mesh mesh_create_derivedCampbell Barton
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-12-17'Transform' Python Function for armature, curve and lattice.Campbell Barton
patch by Paolo Acampora with some edits.
2013-12-03Code Cleanup: use BLI_strncpy when copying into fixed sized buffersCampbell Barton
2013-11-19Code Cleanup: move trans-verts out of snap code into their own file.Campbell Barton
Developer Note: * minmax & centroid was being calculated when creating trans-verts but never used. * static vars removed, replace with TransVertStore stack var.
2013-10-23code cleanup: minor transform refactorCampbell Barton
redraw flag were mixing up types - int/char/bool, add enum type to use instead.
2013-10-12transform - use 2d float's for the viewport center (allows for vector math ↵Campbell Barton
functions to be used more easily).
2013-09-24add back crazy space check to only initialize a vertex once. (changed in ↵Campbell Barton
r60146 caused bug [#36803])
2013-09-15modify crazyspace_get_mapped_editverts to work like crazyspace_set_quats_meshCampbell Barton
- array of quats is now aligned with the vertices (over alloc, it simplifies things and removes need to set invalid index values). - remove visit-bitmap from crazyspace_get_mapped_editverts(). setting coords multiple times isnt bad.
2013-09-15use mpolys rather then tessfaces for crazy-space calculation. (was a todo ↵Campbell Barton
since merging bmesh)
2013-08-19Made modifiers_getVirtualModifierList safe for threadingSergey Sharybin
Move static variables to context filling in by this fcuntion and owned by a callee function. This ensures no conflicts between threads happens because of static variables used in this function. Also moved modifier types and virtual modifiers data to a function called from creator. This is needed to be sure all the information is properly initialied to the time when threads starts to use this data. -- svn merge -r57899:57900 ^/branches/soc-2013-depsgraph_mt
2013-07-23use BLI_bitmap for crazyspace vertex tagging.Campbell Barton
2013-07-23optimization: only calculate the normals for passing into derivedMesh ↵Campbell Barton
foreachMappedVert/foreachMappedFaceCenter when needed, this means in editmode with wire draw, face and vertex normals don't have to be calculated at all. in most cases the normals are not used so add a flag that makes calculating them only for functions that need them. also fix face normal calculation for CDDM, was using quad calculation for ngons too.
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-20hidden wireframe option for mesh editmode, important for retopology mode ↵Campbell Barton
(can be used with xray).
2013-07-10Fix #36075: editing shading nodes could still crash blender internal renderedBrecht Van Lommel
draw mode. This happens because it uses node data structures in threads, now it does same as preview render, which is to immediately stop the render thread when e.g. deleting nodes.
2013-07-09Fix #35979, #35937, #35739: undo crashes and missing updates with blenderBrecht Van Lommel
internal viewport rendering. Lots of tweaks here, mainly: * Stop 3D viewport render and free database before undo. * Accumulate update flags rather than replace them each time it rerenders, to avoid previous updates getting lost. * Don't check against Render struct view parameters for changes, those are set in the job thread which might not run before the next update call.
2013-07-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2013-06-25Include DNA_scene_types before ED_object instead of forward enum declarationSergey Sharybin
Forward enum declaration is a bad idea, especially for C++ which requires enum specification to dteermine which data type to use to store it. Alternative would be to not use enum as an arument and pass it as int, but actually would rather be strict on typing -- using explicit enum as parameter type helps understanding the code and prevents possible mistakes when using the function.
2013-05-30remove redundant includes from cmake and scons.Campbell Barton
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-04-19simple optimization, replace BM_face_other_edge_loop() with ↵Campbell Barton
BM_loop_other_edge_loop() in situations where the loop is known this avoids a lookup.
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-05Bug fix #34866Ton Roosendaal
Global undo/redo now clears the local undo editmode stack entirely. Error goes back to the 2.3 days, when undo was added. Global undo refreshes the entire internal database, so all ID pointers get invalid. This cases editmode undo storage to fail, if it uses ID pointers as well. The error was that for any Mesh undo stack, a single global undo would make the mesh stack corrupt. Back in edit mode, on undo you'd lose assigned texture images, or get bad crashes. The downside is that people expect this to work... it's a fun feature to maintain stacks separately. Having this instable is not acceptable though. Needs quite some redesign work to solve it (like Dalai's kill-the-tface project :)
2013-04-03code cleanup: unused functionsCampbell Barton
2013-04-02Fix compilation on MinGW(64/32)Antony Riakiotakis
Also, add appropriate lib paths for recent OpenCollada for mingw32 (coming soon to an svn server near you)
2013-04-02Missing GLEW path in CMake, fixes compile error in OS X.Ton Roosendaal
2013-04-02draw helper lines for inset and bevel operators, the mouse distance from the ↵Campbell Barton
selection center was used, but often it was hard to tell where this was and you'd have to guess. adds ED_region_draw_mouse_line_cb() generic draw callback for mouse helper lines.
2013-03-26style cleanup:Campbell Barton
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-03-05patch [#34103] path_util_split_dirstring.patch, ↵Campbell Barton
path_util_split_dirstring_2.patch, path_util_split_dirstring_3.patch from Lawrence D'Oliveiro (ldo) Get rid of BLI_splitdirstring, replace with calls to BLI_split_dirfile, BLI_split_dir_part and BLI_split_file_part as appropriate.
2013-02-26revert some changes from own commit r54850 which broke undo for toggle ↵Campbell Barton
buttons, also make toggle buttons auto-key.
2013-02-24Another bunch of UI translation fixes, thanks to Leon Cheung, Gabriel ↵Bastien Montagne
Gazzán and S. Lockal for spotting them!