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
2009-08-162.5Ton Roosendaal
Another keymap goodie for test fun: Tweak events allow to be limited to a direction, like North, South-West, etc. Tested with View3D keymap for border, circle & lasso. Issue to look at still is whether a border should start immediate, or first draw a cross... this can be an operator property of course. Note that tweak code can be extended to corner-gestures too (so you can do a north+east, north+west, and so on... nice for later). Time to get keymap saving work! :) (Fixed bug in Mesh edit circle select, missing notifier)
2009-08-162.5Ton Roosendaal
Muscle flexing commit; put the "any key modifier" to work, also exposed (ugly) in keymap editor. Notes for it works: - You can use any keyboard key to become modifier now (not mouse buttons) - But, if this key was assigned to be a regular hotkey, that still gets triggered, obviously. - So: only use unused keys for this, like "~" or other special ones? For test fun: L+K now does animplay.
2009-08-162.5 Object mode:Nicholas Bishop
* Cleaned up code in 3d header; still requires custom code for creating the object mode button, but removed all the nasty V3D_XXXMODE stuff, and the mode switching code is now just an operator call.
2009-08-16simple crash fixCampbell Barton
2009-08-162.5/RNA:Nicholas Bishop
* Added Context access to RNA_property_as_string. This is needed for doing a Python call to the object mode set operator, which has a dynamic enum property that needs context.
2009-08-162.5:Thomas Dinges
* Removed some more old sculpt layout code. * Fixed Channel hack in sequencer. This is now fixed in layout engine.
2009-08-162.5Ton Roosendaal
Small fix: region-zones (currently triangles) overlapped when closed in cases. Happened for 3d window toolbar for example.
2009-08-162.5Ton Roosendaal
Flaw in python UI for headers: code missing to correctly set the total width of header, plus obsolete call in view3d header template to set width. Now MMB scroll of view3d header works again.
2009-08-162.5 3DView Header:Thomas Dinges
* Sculpt Menu is now written in python. * Select Menus are only for Object, Edit and Particle Mode, added code to check on that, fixed Console warnings. * Fixed a typo in armature buttons, reported in IRC by "ebrain".
2009-08-16units for edge length and area mesh drawing.Campbell Barton
2009-08-16- added RNA_struct_free_extension rather then having the funcs in each ↵Campbell Barton
unregister func. - use RNA_struct_blender_type_set to set the type to NULL before its freed There is a memory error here when reloading scripts - ui_handler_panel_region, need to look into theis further.
2009-08-162.5/Modes:Nicholas Bishop
* Added OBJECT_OT_mode_set for setting the object mode. Takes one property, "mode", which can be any of the OB_MODE_* flags. The available modes are limited based on the active object (e.g. only meshes can have sculptmode, and so forth.) * Set the icon properties in the object mode enum RNA TODO: At this point I think everything is ready to start ripping out the ugly hacks in view3d_header for setting the mode :)
2009-08-162.5/Posemode:Nicholas Bishop
* Pose mode was already object-localized, but moved the flag from object->flag to object->mode, with all the other modes. * Updated object mode RNA * Commented out some dubious use of base->flag with the posemode flag. So far as I could see the value was only being set, not read, so a hopefully safe change.
2009-08-162.5:Nicholas Bishop
* Updated object mode flags with Object and Edit. * Updated RNA for that property
2009-08-16Animation Editors: Visibility Toggles for Datablocks now workJoshua Leung
2009-08-162.5/Particle edit:Nicholas Bishop
* Made particle edit object-localized.
2009-08-16Animation Editors: Code Cleanups (for Channel Lists) Part 2Joshua Leung
Now the mute/protect/expand/etc. toggles are drawn using UI widgets. This means that special event handling code to determine when they were clicked on is no longer needed, and also means that there can now be tooltips for these items too. Also, added visibility toggles for ID-block expanders, which will cause all the F-Curves in the linked datablock to not get drawn. The backend filtering code to make this work will come later...
2009-08-162.5/Texture paintNicholas Bishop
* Made texture paint object-localized too. Note for Brecht: gpu_draw.c had three uses of G_TEXTUREPAINT that I was not able to cleanly fix, so commented out for now. Can you take a look and see what should be done here?
2009-08-162.5 3DView Header:Thomas Dinges
* "Object" Menu is now written in python.
2009-08-162.5/Paint:Nicholas Bishop
* Weightpaint is now object-local like sculpt and vertexpaint. * Fixed a bug spotted by DingTo, going from editmode to sculptmode didn't fully leave editmode
2009-08-162.5/Vertex paint:Nicholas Bishop
* Made vertex paint local to object, like sculpt mode. * New test for vertex paint is (ob->mode & OB_MODE_VERTEX_PAINT)
2009-08-152.5, continuing work with localizing paint modes.Nicholas Bishop
* Replaced FACESEL_PAINT_TEST macro with paint_facesel_test. This removes one more thing from BKE_global, and it'll make it easier to localize. * Fixed sculpt paint cursor sometimes not showing.
2009-08-152.5 3D_View:Thomas Dinges
Patch [#19031] (2.5) python menus for the view3d header by Lorenzo Pierfederici (lento). Thanks! * Added CTX_data_mode_string() to find out in which mode we're in. * Added some "select" menus as a test. This patch makes it basically possible to wrap the 3D View menus to python.
2009-08-152.5: Material buttonsBrecht Van Lommel
* Transparency is now it's own panel, with a boolean toggle + enum for z/ray transparency (following mockup made by William). Also had to change DNA flags for this. * Disabled radiosity a bit more in render engine, it still had some effects like auto autosmooth. * Make some sliders in material buttons percentages in RNA. * Some other small tweaks in layout and naming.
2009-08-152.5: fix for layout engine, increase default size of number buttonsBrecht Van Lommel
in headers.
2009-08-152.5/Sculpt:Nicholas Bishop
* Made sculpt mode local to object. * This also fixes loading files from 2.4x saved in sculptmode Touched a lot of things here, let me know if anything breaks TODO: * The other paint modes should be converted as well
2009-08-152.5: Screen/Scene New/Delete operators.Brecht Van Lommel
Implementation Note: * Moved the scene copy/unlink code back into blenkernel, with the exception of the copy single user stuff which is still in object_edit.c. * Uses SCREENDELETE notifier like SCREENBROWSE, seems only clean way to do this now.
2009-08-152.5: warning fixesBrecht Van Lommel
Directories intern/ and source/blender/ now compile warning free again here with scons/gcc.
2009-08-15Fix for View All operator in 3dview, was not working because of missing code.Elia Sarti
2009-08-15- remove UNSET becuase it only works with newer versions of cmake,Campbell Barton
- changed the SDL and Freetype vars to match CMake's names - removed unneeded freetype, SDL and ftgl includes
2009-08-15Fix for shift-selecting manipulator types. Now redraws correctly 3dview.Elia Sarti
2009-08-142.5/Paint modes:Nicholas Bishop
* Fixed one of the items from Brecht's TODO mail. Exiting edit mode now restores any paint mode you might have been in, rather than going to object mode.
2009-08-142.5 - Assorted Animation UI Tweaks Joshua Leung
* Fixed padding for Graph Editor visibility toggles * Reverted many of the tweaks to Timeline UI for now (for the reasons outlined in earlier mail) * NLA Editor now (mostly) uses the new channel-drawing API
2009-08-142.5/Paint modes:Nicholas Bishop
* Moved brush curve preset operator out of sculpt to paint_utils * Added a button to the curve panel to set the preset
2009-08-142.5/Multires:Nicholas Bishop
Bugfixes * Don't allow multires subdivision in editmode, this leads to corruption as noted by nudelZ. Reason is that editmode has its own copy of the MDisps customdata layer, gets written back out on exiting editmode, but the layer that was subdivided was the non-editmode original. * Missed clearing a couple variables, caught with valgrind.
2009-08-14Smoke: bugfix - tray, not tvoxDaniel Genrich
2009-08-14Smoke: no lamp results in no shading (requested by nudelZ)Daniel Genrich
2009-08-142.5/Sculpt:Nicholas Bishop
* Moved the brush texture settings to MTex/TextureSlot. The mapping settings now show up in the texture panel, pretty much like they do for textures used with materials. TODO: * Tiled mode should not show Z size setting * Add a locked mode so that texture size can be changed uniformly like in 2.4x
2009-08-13MSVC compile fix.Andrea Weikert
* replaced snprintf with BLI_snprintf * in unit.c used the #define hack used in several places already to avoid adding additional dependency.
2009-08-13added string max length option for unit functions bUnit_AsString and ↵Campbell Barton
bUnit_ReplaceString
2009-08-132.5 Timeline:Thomas Dinges
WIP Commit, still uncommented. * Adeed some RNA properties for Playback. * Start of Python File.
2009-08-132.5 - Fix for segfaults with entering text in normal number buttons (i.e. ↵Joshua Leung
frame buttons in timeline header).
2009-08-13- moved unit settings from user prefs into the scene.Campbell Barton
- use the scene context for the unit settings since there isn't a better place for it currently. - added 'chain' to imperial units - set more rna props to be distances and angles.
2009-08-132.5 - Assorted cleanupsJoshua Leung
* Silencing some compiler warnings * Set paths for Scene rendering settings so that they can be animated (or at least won't produce error warnings)
2009-08-12unit grid snap while transforming, display units in the header.Campbell Barton
2009-08-12Edited timeline header layout slightly. William Reynish
-Made the 'PR' button not align itself to the start/end frame fields, as this makes for a nicer visual rounding of those two numbers. -Made current frame indicator longer, to allow for display of higher frame numbers -Removed the auto-keyframe dropdown menu. This exists as a preference, and doesn't need to take up space here. This is not something you're likely to change much after all. -Made the keying sets menu stay put in the UI. It was moving about depending on what options are selected to the left of it. This sort of moving around should be avoided as much as possible. -Swapped Add/Delete keyframe buttons. It's more intuitive to have the add key button first.
2009-08-12when units are enabled use them for 3d viewport grid drawing, display the ↵Campbell Barton
dimension for the smallest grid cell. still need to make this work with grid snapping.
2009-08-12New point cache file format:Janne Karhu
- HEADER (beginning of each file) * general header: + 8 char: "BPHYSICS" + 1 int: simulation type (same as PTCacheID->type) * custom header (same for sb, particles and cloth, but can be different for new dynamics) + 1 int: totpoint (number of points) + 1 int: data_types (bit flags for what the stored data is) - DATA (directly after header) *totpoint times the data as specified in data_types flags - simulation type soft body = 0, particles = 1, cloth = 2 - data types (more can be added easily when needed) data flag contains ---------------------------------------- index (1<<0) 1 int (index of current point) location (1<<1) 3 float velocity (1<<2) 3 float rotation (1<<3) 4 float (quaternion) avelocity (1<<4) 3 float (used for particles) xconst (1<<4) 3 float (used for cloth) size (1<<5) 1 float times (1<<6) 3 float (birth, die & lifetime of particle) boids (1<<7) 1 BoidData Notes: - Every frame is not nescessary since data is interpolated for the inbetween frames. - For now every point is needed for every cached frame, the "index" data type is reserved for future usage. - For loading external particle caches only "location" data is necessary, other needed values are determined from the given data. - Non-dynamic data should be written into an info file if external usage is desired. * Info file is named as normal cache files, but with frame number 0; * "Non-dynamic" means data such as particle times. * Written automatically when baking to disk so basically a library of particle simulations should be possible. - Old disk cache format is supported for reading, so pre 2.5 files shouldn't break. However old style memory cache (added during 2.5 development) is not supported. To keep memory cached simulations convert the cache to disk cache before svn update and save the blend. - External sb and cloth caches should be perfectly possible, but due to lack of testing these are not yet enabled in ui. Other changes: - Multiple point caches per dynamics system. * In the future these will hopefully be nla editable etc, but for now things are simple and the current (selected) point cache is used. * Changing the amount of cached points (for example particle count) is allowed, but might not give correct results if multiple caches are present. - Generalization of point cache baking etc operator & rna code. - Comb brushing particle hair didn't work smoothly.
2009-08-12Set the clickstep for unit buttons to each click moves 1 unit.Campbell Barton
2009-08-12- was displaying 1cm as 10mm because of double precission problem.Campbell Barton
- typing in numbers without any units will use the units displayed before editing the value. - fixed some errors