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
2010-11-02fix for compiling with the c90 standard, support for non-static variable ↵Campbell Barton
initializers is a c99 feature.
2010-10-18bugfix [#24302] Ctrl+Click Extrude gets old mouse eventsCampbell Barton
double click didnt check mouse distance moved so you could click twice in different areas of the screen very fast and generate a double click event which had old mouse coords copied into it but was sent to an operator set to run on single click (because the double click wasnt handled). Also added MEM_name_ptr function (included in debug mode only), prints the name of allocated memory. used for debugging where events came from.
2010-10-18Fix [#24288] Mesh Grid pointing towards the floor when first createdNathan Letwory
Reported by Terry Wallwork
2010-10-16Declaration before any statements. Doesn't GCC warn about this?Nathan Letwory
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-16dont check for project anymore for ctrl+click, face snapping is enough.Campbell Barton
2010-10-15bugfix [#24264] toggle UV selection fails.Campbell Barton
was using the 4th selection flag on tri's. also some minor changes, removed unused args and corrected some comments.
2010-10-15Ctrl+Click extrude, project the source verts when projection and rotating ↵Campbell Barton
the source are enabled (better for retopo workflow).
2010-10-15replace SIDE_OF_LINE macro with line_point_side_v2() inline function.Campbell Barton
made a number of files build without unused warnings.
2010-10-15tag UNUSED() for operator exec() and invoke() functions.Campbell Barton
2010-10-13bugfix [#23150] Creating Vertex with CTRL-LMB not snappingCampbell Barton
- Added EM_project_snap_verts so other functions can re-use this, similar to old retopo_do_all(). - Changed how the normal for selected geometry is calculated, was accumulating half selected edge's into normals which was OK with even surrounding geometry but could skew too easily if the surroundings were not so even. Now use the 2D screen space selected edge vector to calculate the normals in relation to the target mouse position. - Option to rotate initial selection, gives better results in some cases. (Ctrl+Shift+Click to disable) http://wiki.blender.org/index.php/File:ClickExtrudeFix.png
2010-10-12bugfix [#23191] Ctrl-LMB quick extrude problem with non-perpendicular ↵Campbell Barton
edges/faces. also remove is_mat4_flipped() from transform_manipulator.c.
2010-09-20bugfix [#23909] Calculating DepthCampbell Barton
- depth was incorrect, changes since 2.4x. - minor edit to transform manipulator, no functional change.
2010-09-02Renaming of Cylindric objects after a good proposal by Conz:Thomas Dinges
http://www.vrchannel.de/blender/cylinder_rename.png Mesh Tube > Mesh Cylinder NURBS Tube > NURBS Cylinder Metaball Cylinder > Metaball Capsule I know that naming is something not everyone agrees on, but these terms look geometrically correct.
2010-08-20rna data path names which are more likely to break animations.Campbell Barton
Added an operator "Update Animation Data", access from the search menu to update drivers and fcurves.
2010-08-08remove unused includesCampbell Barton
2010-07-23Fix #22978: wrong property min/max on icosphere subdivisions.Brecht Van Lommel
2010-07-20Fix #22905Diego Borghetti
[#22905] Adding objects with a grid size of <1m results in a 0 size object The problem here is that the return value of the function ED_object_new_primitive_matrix is a float, not an int. This come from an old revision, before the two dia and depth multiplication was using the function (two call to the same function). This was change to only call the functio one time and store the value in the "scale" variable, but the scale was declare as int, not float.
2010-06-27Fix [#22564] Object name by object typeMatt Ebb
Restored auto-naming newly created objects by type, for Mesh, Lamp, Meta
2010-06-14adding curve and mesh objects through python would create the object without ↵Campbell Barton
assigning it to any layers. now initialize from the scene (when the value is unset), and throw an error when the value is set to all false.
2010-06-09enable adding objects in background mode by not using the context to get the ↵Campbell Barton
object added.
2010-04-21replace add_v3_v3v3() --> add_v3_v3() where possibleCampbell Barton
2010-04-16Fix [#21492] "Align to view" option from tools panel's operator part doesn't ↵Matt Ebb
works. Also changed some usage of CTX_wm_region_view3d(C) to ED_view3d_context_rv3d(C)
2010-04-05Fix [#21912] knife and subdivide tools do not split edges properlyMatt Ebb
Added back the 'corner cut pattern' as an operator property for subdivide operator. Not added for knife yet, since operator redo doesn't seem to be working at all - already logged in the tracker.
2010-03-29Fix [#21679] add_grid "operator's subdivison" Change Dimensions Matt Ebb
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-21Fix syntax for ID keyword.Guillermo S. Romero
2010-03-10Fix [#21515] New cubes don't follow grid size for height (Z)Matt Ebb
2010-02-12correct fsf addressCampbell Barton
2010-02-11batch remove .'s used with RNA_def_struct_ui_textCampbell Barton
2010-02-10Better default resolutions for UV Sphere and Torus primitives (nice squareDaniel Salazar
faces) Torus is generated flat shaded like the rest of primitives for easier tweaking of resolution and consistency with the rest of the primitives
2010-01-22Cleaned up some printfs in editors/ - converted some to reports, hid others ↵Matt Ebb
behind G_DEBUG.
2010-01-21Fix [#20750] adding Lattice object in Local space doesn't appearsMatt Ebb
Now add object operators take a layer parameter (hidden in UI) to determine their layer when created.
2010-01-14spelling errors, no real changes to code.Campbell Barton
2010-01-12Fix [#20644] new curve sets itself to the origin, but the pivot to the cursorMatt Ebb
+ Cleaned up the nurbs spin operator and gave it properties rather than relying on context
2010-01-08Fix #20604: Make Normals Consistent (Ctrl N) doesn't respect selection.Brecht Van Lommel
2009-12-28Added location and rotation operator properties for adding objects. The ↵Matt Ebb
Align to View boolean is now just used to set the rotation property value during invoke. This removes some reliance on 3d view info for non-interactive use, and also lets you specify new object's locations/rotations explicitly when calling from Python.
2009-12-15solidify would only work as expecyed if all faces were selected, added an ↵Campbell Barton
override to extrude that means it runs without removing selected faces first, even on a partial selection
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-11-05enter editmode when adding objects even if the object is not in an active layer,Campbell Barton
useful for python but in rare cases this also happens for users. Active layer getting out of sync is an old bug but hard find when it happens. This at least fixes segfaulting on adding objects.
2009-11-02- all add object operators now take view_align as an argument, and ↵Campbell Barton
enter_editmode where its used. Makes running the operator from python pradictable without having to know the user prefs. - missing return in function - python error in view3d (assumed active object exists)
2009-10-21Silencing some compiler warnings for mingwJoshua Leung
* Unused functions * Uninitialised vars
2009-10-19Consolidate tube and cylinder primitives.Martin Poirier
Removing old add tube operator and replacing it with add cylinder. The resulting operator is called add tube, since that's the name in the menu. Other people can debate about the name and change it later if they feel like it.
2009-10-19[#19680] Add cap ends option for new cylinders in 2.5Martin Poirier
Patch by Howard Brooks
2009-10-11adding a cone didnt workCampbell Barton
2009-10-11- add torus back from 2.4x as an operatorCampbell Barton
bpy.ops.mesh.primitive_torus_add(major_radius=1, minor_radius=0.25, major_segments=48, minor_segments=16) - experemental dynamic menus, used for INFO_MT_file, INFO_MT_file_import, INFO_MT_file_export and INFO_MT_mesh_add. these can have items added from python. eg. - removed OBJECT_OT_mesh_add, use the python add menu instead. - made mesh primitive ops - MESH_OT_primitive_plane_add, ...cube_add, etc. work in object mode. - RNA scene.active_object wrapped - bugfix [#19466] 2.5: Tweak menu only available for mesh objects added within Edit Mode ED_object_exit_editmode was always doing an undo push, made this optional using the existing flag - EM_DO_UNDO, called everywhere except when adding primitives.
2009-09-052.5Brecht Van Lommel
Notifiers --------- Various fixes for wrong use of notifiers, and some new notifiers to make things a bit more clear and consistent, with two notable changes: * Geometry changes are now done with NC_GEOM, rather than NC_OBJECT|ND_GEOM_, so an object does need to be available. * Space data now use NC_SPACE|ND_SPACE_*, instead of data notifiers or even NC_WINDOW in some cases. Note that NC_SPACE should only be used for notifying about changes in space data, we don't want to go back to allqueue(REDRAW..). Depsgraph --------- The dependency graph now has a different flush call: DAG_object_flush_update(scene, ob, flag) is replaced by: DAG_id_flush_update(id, flag) It still works basically the same, one difference is that it now also accepts object data (e.g. Mesh), again to avoid requiring an Object to be available. Other ID types will simply do nothing at the moment. Docs ---- I made some guidelines for how/when to do which kinds of updates and notifiers. I can't specify totally exact how to make these decisions, but these are basically the guidelines I use. So, new and updated docs are here: http://wiki.blender.org/index.php/BlenderDev/Blender2.5/NotifiersUpdates http://wiki.blender.org/index.php/BlenderDev/Blender2.5/DataNotifiers
2009-08-17mesh operator documentation patch from Ron walker, (edited a few of the ↵Campbell Barton
descriptions)
2009-07-292.5Ton Roosendaal
Operator goodies! --- Macro operators Operators now can consist of multiple operators. Such a macro operator is identical and behaves identical to other opererators. Macros can also be constructed of macros even! Currently only hardcoded macros are implemented, this to solve combined operators such as 'add duplicate' or 'extrude' (both want a transform appended). Usage is simple: - WM_operatortype_append_macro() : add new operatortype, name, flags - WM_operatortype_macro_define() : add existing operator to macro (Note: macro_define will also allow properties to be set, doesnt work right now) On converting the macro wmOperatorType to a real operator, it makes a list of all operators, and the standard macro callbacks (exec, invoke, modal, poll) just will use all. Important note; switching to a modal operator only works as last in the chain now! Macros implemented for duplicate, extrude and rip. Tool menu works fine for it, also the redo hotkey F4 works properly. --- Operator redo fix The operators use the undo system to switch back, but this could give errors if other actions added undo pushes (buttons, outliner). Now the redo for operator searches back for the correct undo level. This fixes issues with many redos. Note for brecht: removed the ED_undo_push for buttons... it was called on *every* button now, which is probably too much? For example, using the 'toolbar' redo also caused this...
2009-07-22Fixed weird alignment for new mesh objects. This still doesn't work ↵Matt Ebb
correctly in edit mode, but it's a bit more usable than before.