Joshua Leung [Tue, 18 Aug 2009 11:48:34 +0000 (11:48 +0000)]
2.5 - Fixing some drawing problems I noticed in ZanQdo's file...
Alpha for icons wasn't getting set correctly in animation editors anymore. This commit should fix the issues there, though the scrollbars still have a few minor issues still too.
Also, NLA strips with repeats now have the repeat indicators drawn only 80% or so of the height, making it easier to distinguish between strips with repeats and bunches of strips.
Campbell Barton [Tue, 18 Aug 2009 11:28:57 +0000 (11:28 +0000)]
missed this define when renaming bullet defines
Joshua Leung [Tue, 18 Aug 2009 11:25:50 +0000 (11:25 +0000)]
Bugfix: Crash in demo file from ZanQdo (reported by jaguarandi).
Was caused by old animation-system code that was no longer working. I've commented out this code for now until we need something like this again.
Joshua Leung [Tue, 18 Aug 2009 04:15:47 +0000 (04:15 +0000)]
2.5 - Newly created KeyingSets are now automatically named properly.
Campbell Barton [Tue, 18 Aug 2009 04:15:28 +0000 (04:15 +0000)]
forgot to updated scons and make for the bullet defines
Campbell Barton [Tue, 18 Aug 2009 03:24:46 +0000 (03:24 +0000)]
CMake/Warnings
* WITH_GAMEENGINE and WITH_BULLET were being added to the compiler flags, only define in areas that use them.
* removed C++ unix warnings by adding -Wno-invalid-offsetof -Wno-sign-compare. the py api uses invalid offsets for attributes.
* removed C unix -Wnested-externs warning, these are everywhere in blender.
* removed unused BGE python headers
* undefine _XOPEN_SOURCE and _POSIX_C_SOURCE in the BGE, python redefines.
* renamed USE_BULLET in collision.c to WITH_BULLET for consistency
Nicholas Bishop [Tue, 18 Aug 2009 01:39:49 +0000 (01:39 +0000)]
2.5/Sculpt:
* Added UI for rake mode
Brecht Van Lommel [Tue, 18 Aug 2009 01:29:25 +0000 (01:29 +0000)]
2.5: RNA, defining enums, pointers and collections properties is now
possible from python, but it's still work in progress.
Pointers and collections are restricted to types derived from
IDPropertyGroup (same as for operators), because RNA knows how to
allocate/deallocate those.
Collections have .add() and .remove(number) functions that can be
used. The remove function should be fixed to take an other argument
than a number.
With the IDPropertyGroup restriction, pointers are more like nested
structs. They don't have add(), remove() yet, not sure where to put
them. Currently the pointer / nested struct is automatically allocated
in the get() function, this needs to be fixed, rule is that RNA get()
will not change any data for thread safety.
Also, it is only possible to add properties to structs after they have
been registered, which needs to be improved as well.
Example code:
http://www.pasteall.org/7201/python
Nicholas Bishop [Tue, 18 Aug 2009 01:19:00 +0000 (01:19 +0000)]
2.5/Sculpt:
* Added UI for brush stroke. Contains for now spacing and smooth stroke
* Removed Sculpt UI for airbrush -- doesn't do anything in sculpt mode
* Improved smooth stroke by using float instead of int precision, so smooth stroke is even smoother now
Nicholas Bishop [Mon, 17 Aug 2009 23:37:39 +0000 (23:37 +0000)]
2.5/Sculpt:
* Fixed tablet pressure for brush size.
Daniel Genrich [Mon, 17 Aug 2009 22:27:08 +0000 (22:27 +0000)]
Bugfix for time line: Fixing usage of uninitialized memory which resulted in e.g. backward playing time line.
Robin Allen [Mon, 17 Aug 2009 22:17:25 +0000 (22:17 +0000)]
Implemented multisampling for texture nodes.
Robin Allen [Mon, 17 Aug 2009 20:30:11 +0000 (20:30 +0000)]
Slight refactor of texture nodes.
Delegates now receive a TexParams* instead of float *coords. This gives texture nodes access to dxt, dyt, cfra as well as coords. This fixes the time node and allows nice sampling to be implemented.
Martin Poirier [Mon, 17 Aug 2009 20:04:28 +0000 (20:04 +0000)]
New command line argument to specify render engine
-E <engine>
-E help: lists all available engine and then quits. (blender window might flash open and then disappear. io python scripts need to be read for all engine, so we have to load interface and not do that before like other help options).
When run after -b, only builtin engines are available because of the python scripts not being read correctly bug.
Nicholas Bishop [Mon, 17 Aug 2009 19:54:29 +0000 (19:54 +0000)]
2.5/Ghost:
* Hopefully fixed X tablet support. The name string was not a reliable way of finding tablet anymore, so now we get the type string and search it for 'stylus' and 'eraser'. Still not very robust, but without UI I don't see how to do better.
Robin Allen [Mon, 17 Aug 2009 18:37:58 +0000 (18:37 +0000)]
Made texture nodes accessible in the interface.
* Exposed Tex.use_nodes, Tex.nodetree, MTex.which_output in RNA
* Added node controls to texture buttons (Use Nodes and Use Output)
* Made new texture outputs have unique names by default, though unique names still aren't required.
Note: The preview window in the texture buttons only takes which_output into account when in "material" mode, and in the material half of "both" mode; the plain texture display ignores the user's output choice.
This is because ED_preview_draw draws a Tex* and not an MTex* -- still some work to do here.
Campbell Barton [Mon, 17 Aug 2009 18:07:40 +0000 (18:07 +0000)]
- rna sequence sound was referencing unknown struct
- cmake was using libs that were disabled (whitespace changes too)
- unit conversion missing checks for % ~ & operators
Nicholas Bishop [Mon, 17 Aug 2009 17:49:33 +0000 (17:49 +0000)]
2.5/Sculpt:
* Fixed a mem leak with the grab brush
Nicholas Bishop [Mon, 17 Aug 2009 17:34:15 +0000 (17:34 +0000)]
2.5 Particle edit:
* Fixed cursor poll, so the cursor won't show up outside the 3d view
Nicholas Bishop [Mon, 17 Aug 2009 17:26:58 +0000 (17:26 +0000)]
2.5 editmode:
* Added a poll to the editmode operator that checks first that the object is an editable type (no more tabkey on camera, bug reported by DingTo)
Campbell Barton [Mon, 17 Aug 2009 17:26:54 +0000 (17:26 +0000)]
rna reference doc generation
- rna classes, only include props and functions that are not inherited (epydoc then gives inheritance info)
- include function arguments and return values for in cross reference
Nicholas Bishop [Mon, 17 Aug 2009 17:14:37 +0000 (17:14 +0000)]
2.5:
* Added icons to viewport shading enum. On a side note, why do we have an icon called "ICON_POTATO" for texture mode?
* Fixed clay brush at zero-strength bug, was dividing by zero. Still todo is fixing clay brush strength relative to other brushes.
Ton Roosendaal [Mon, 17 Aug 2009 16:54:52 +0000 (16:54 +0000)]
2.5
Stablity commit: on render, all running jobs are stopped now (previews,
composite, screencast). First render has to be more threadsafe, to allow
multiple renders simulatenously.
Nicholas Bishop [Mon, 17 Aug 2009 16:08:09 +0000 (16:08 +0000)]
2.5/Sculpt:
* Hopefully fixed the tablet pressure in sculpt mode? Can't test because Blender isn't seeing my tablet.
Nicholas Bishop [Mon, 17 Aug 2009 15:17:45 +0000 (15:17 +0000)]
2.5 paint:
* Fixed texture paint UI
Nicholas Bishop [Mon, 17 Aug 2009 15:05:18 +0000 (15:05 +0000)]
2.5 Paint:
* Updated the brush selection UI to make the slots less apparent; adding and removing brushes now directly adds and removes slots.
Campbell Barton [Mon, 17 Aug 2009 12:48:56 +0000 (12:48 +0000)]
units with no separator can now be typed into number buttons - eg, 5'7" 2km4m
Thomas Dinges [Mon, 17 Aug 2009 11:45:24 +0000 (11:45 +0000)]
2.5 Timeline:
* Added "Only selected" Option in View menu.
Nathan Letwory [Mon, 17 Aug 2009 11:39:34 +0000 (11:39 +0000)]
* libjack.dll copying
Nathan Letwory [Mon, 17 Aug 2009 11:37:43 +0000 (11:37 +0000)]
* I accidently committed a tainted SConstruct with some old tests. This disabled copying of Python .dlls. Fixed.
Joshua Leung [Mon, 17 Aug 2009 10:39:03 +0000 (10:39 +0000)]
2.5 - Bugfixes:
* Reverse playback works again. Flag was getting overriden before it had a chance to do anything
* Active KeyingSet field in TimeLine header should now only be marked as editable when there are some Keying Sets. However, there still seems to be a bug when trying to change this...
TODO (Brecht?): it would be nice to be able to specify a list/collection of data for pointer-buttons that aren't ID's.
Thomas Dinges [Mon, 17 Aug 2009 10:13:24 +0000 (10:13 +0000)]
2.5 3DView:
* Ported Edit Menus to python.
Many thanks to Lorenzo Pierfederici (lento) for this patch.
Nathan Letwory [Mon, 17 Aug 2009 09:20:14 +0000 (09:20 +0000)]
* Jack support should be off by default until things have been cleared up (see meeting notes 16.8.2009)
Joshua Leung [Mon, 17 Aug 2009 07:35:38 +0000 (07:35 +0000)]
2.5 - Keying Sets Fixes
* Properly wrapped Keying Sets in RNA. Now the timeline header shows a popup for choosing KeyingSets instead of the nasty index button.
* Fixed bugs in Outliner code for adding/removing array elements to Keying Sets. This makes it possible to add only the x and z location settings for an object for example.
Campbell Barton [Mon, 17 Aug 2009 07:35:23 +0000 (07:35 +0000)]
paint toolbox layout grouping
Campbell Barton [Mon, 17 Aug 2009 07:34:41 +0000 (07:34 +0000)]
scons support for extracting python from the system on unix os's
Nicholas Bishop [Mon, 17 Aug 2009 04:40:59 +0000 (04:40 +0000)]
2.5 Texture paint:
* Converted to use Paint struct. Now all the brush modes are done.
TODO:
* Make the UI better
Campbell Barton [Mon, 17 Aug 2009 04:15:53 +0000 (04:15 +0000)]
mesh operator documentation patch from Ron walker, (edited a few of the descriptions)
Nicholas Bishop [Mon, 17 Aug 2009 03:16:14 +0000 (03:16 +0000)]
2.5/Sculpt:
* Some UI fixes suggested by broken, removed specialized Add Brush menu in favor of standard ID add button, also put a separator between brush selection and brush properties.
Nicholas Bishop [Mon, 17 Aug 2009 02:49:31 +0000 (02:49 +0000)]
2.5 Paint:
* Converted vertex paint and weight paint to use the new Paint type
Nathan Letwory [Mon, 17 Aug 2009 01:16:50 +0000 (01:16 +0000)]
== SCons ==
* add jack support for audio system.
Note that for OSX jack support is still off by default, since
I'm not sure about what goes where. OSX maintainers, please check and fix.
Nicholas Bishop [Mon, 17 Aug 2009 00:39:00 +0000 (00:39 +0000)]
2.5 Paint:
* Refactored the file write/read code for the new Paint type. Just used for sculpt for now, but this'll make it easier when the other paint modes are converted.
Nicholas Bishop [Mon, 17 Aug 2009 00:24:49 +0000 (00:24 +0000)]
2.5 Armatures:
* Missed one posemode flag-to-mode switch, drawing of armatures works correct now.
Thomas Dinges [Mon, 17 Aug 2009 00:22:04 +0000 (00:22 +0000)]
2.5 Timeline:
Some fixes:
* Added missing "Layered" Button.
* Jump to last keyframe operator was called incorrect.
Brecht Van Lommel [Sun, 16 Aug 2009 23:37:46 +0000 (23:37 +0000)]
2.5: Fix timeline space redraw properties, these were not RNA wrapped
correct, and were missing update. Also moved this update code to
screen_edit.c, next to the other animation play stuff.
Nicholas Bishop [Sun, 16 Aug 2009 23:06:16 +0000 (23:06 +0000)]
2.5:
* Fixed a few warnings (unused vars, missing forward struct)
Brecht Van Lommel [Sun, 16 Aug 2009 22:53:15 +0000 (22:53 +0000)]
2.5: Render Api
* Add RenderResult.load_from_file to load whole multilayer exr's at once.
* Removed x/y offset from RenderLayer.load_from_file, better to encourage
using offset in begin_result() to minimize memory usage.
* Added WITH_OPENEXR in some screen/file/image module for scons/make, exr
was not working in some places there.
Brecht Van Lommel [Sun, 16 Aug 2009 22:49:17 +0000 (22:49 +0000)]
2.5
* Use scene->r.audio instead of scene->audio everywhere, was using both still.
* Fix time_top_left_3dwindow link error, not sure why this happens, somehow
with scons building it seems that files (like time_header.c) wich are not
called from the same .a module get stripped?
Guillermo S. Romero [Sun, 16 Aug 2009 22:48:30 +0000 (22:48 +0000)]
Add jack subdir makefile and standarize audaspace sub-lib names.
Jack support not enabled for now.
Guillermo S. Romero [Sun, 16 Aug 2009 22:35:22 +0000 (22:35 +0000)]
Add debug support like other libs.
Thomas Dinges [Sun, 16 Aug 2009 22:01:20 +0000 (22:01 +0000)]
2.5 Timeline:
* Finally the header and menus are done via python.
* Added RNA for sync audio.
Note: This is just a basic working version in python. It needs more work and some layout changes.
Joshua: Feel free to adjust this further :)
Nicholas Bishop [Sun, 16 Aug 2009 21:05:57 +0000 (21:05 +0000)]
2.5:
Fixed a crasher reported in IRC by DingTo (bad pointer dereference)
Guillermo S. Romero [Sun, 16 Aug 2009 20:53:10 +0000 (20:53 +0000)]
SVN maintenance.
Brecht Van Lommel [Sun, 16 Aug 2009 20:37:22 +0000 (20:37 +0000)]
2.5: Sound
* Move sound_init to make sure it gets called everytime user
preferences is reloaded.
* Merged sound_reinit and sound_init. One used user preferences
while the other did not, don't see the point of this, so just
made it always use user preferences now.
* Timeline header audio sync option now controls scene flag
rather than timeline flag. Since it uses the same playback
operator now, there is no distinction anymore.
* Added boolean property sync to animation play operator, to sync
with audio or not. Uses scene setting if property is not set.
* Playback stop button in info header now calls operator, so sounds
stop playing too.
Brecht Van Lommel [Sun, 16 Aug 2009 20:23:34 +0000 (20:23 +0000)]
2.5: Added operator ui() callback for defining own ui layout
to show properties.
* One problem is that we currently have 3 different kinds of
property layouts, single column, two column, and single column
with text inside button, probably best to reduce this..
* Last operator panel now shows operator name in the header.
* Fix extrude operator to not include transform properties
anymore, since they are already there now due to macro system.
Brecht Van Lommel [Sun, 16 Aug 2009 20:14:49 +0000 (20:14 +0000)]
2.5: Update GPU module to deal with removed G_TEXTUREPAINT
global, passing along enable/disable mipmap setting through
various functions instead.
Nicholas Bishop [Sun, 16 Aug 2009 19:50:00 +0000 (19:50 +0000)]
2.5 Sculpt:
* Added a new Paint type in scene DNA. This is now the base struct for Sculpt.
* The Paint type contains a list of Brushes, you can add or remove these much like material and texture slots.
* Modified the UI for the new Paint type, now shows the list of brushes active for this mode
* Added a New Brush operator, shows in the UI as a list of brush tool types to add
* Made the sculpt tool property UI smaller and not expanded, expectation is that we will have a number of preset brushes that will cover the basic sculpt brush types
TODO:
* Vertex paint, weight paint, texture paint need to be converted to this system next
* Add brush presets to the default blend
Ton Roosendaal [Sun, 16 Aug 2009 18:25:22 +0000 (18:25 +0000)]
2.5
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)
Campbell Barton [Sun, 16 Aug 2009 18:14:17 +0000 (18:14 +0000)]
copy the systems python to the install dir for re-distrobution (non-osx unix), removed some unused stuff in makefiles
Ton Roosendaal [Sun, 16 Aug 2009 17:42:09 +0000 (17:42 +0000)]
2.5
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.
Nicholas Bishop [Sun, 16 Aug 2009 16:38:32 +0000 (16:38 +0000)]
2.5 Object mode:
* 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.
Campbell Barton [Sun, 16 Aug 2009 16:35:14 +0000 (16:35 +0000)]
simple crash fix
Thomas Dinges [Sun, 16 Aug 2009 16:15:13 +0000 (16:15 +0000)]
2.5 Timeline:
* Python conversion is nearly done, still uncommented.
Campbell Barton [Sun, 16 Aug 2009 15:46:09 +0000 (15:46 +0000)]
rna function return values in generated docs,
added prop.use_return so you can tell if a prop is a return value.
William Reynish [Sun, 16 Aug 2009 15:45:27 +0000 (15:45 +0000)]
tweaked units layout
Brecht Van Lommel [Sun, 16 Aug 2009 15:34:30 +0000 (15:34 +0000)]
2.5: RNA, added context.screen.animation_playing to detect
animation playback.
Joerg Mueller [Sun, 16 Aug 2009 14:53:11 +0000 (14:53 +0000)]
Added jack audio support, building with cmake only currently, feel free to add scons and maybe cmake.
Nicholas Bishop [Sun, 16 Aug 2009 14:43:08 +0000 (14:43 +0000)]
2.5/RNA:
* 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.
Thomas Dinges [Sun, 16 Aug 2009 14:38:59 +0000 (14:38 +0000)]
2.5:
* Removed some more old sculpt layout code.
* Fixed Channel hack in sequencer. This is now fixed in layout engine.
Ton Roosendaal [Sun, 16 Aug 2009 13:51:33 +0000 (13:51 +0000)]
2.5
Small fix: region-zones (currently triangles) overlapped when closed in
cases. Happened for 3d window toolbar for example.
Ton Roosendaal [Sun, 16 Aug 2009 13:01:40 +0000 (13:01 +0000)]
2.5
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.
Thomas Dinges [Sun, 16 Aug 2009 12:52:57 +0000 (12:52 +0000)]
2.5 3DView Header:
* 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".
Campbell Barton [Sun, 16 Aug 2009 12:29:46 +0000 (12:29 +0000)]
own mistake, __rna__ wasnt causing circular references. python can handle this. changing broke python operators like the pyConsole.
Ton Roosendaal [Sun, 16 Aug 2009 11:45:25 +0000 (11:45 +0000)]
2.5
Skipping UI script and keymap calls for -b background mode.
William Reynish [Sun, 16 Aug 2009 11:25:18 +0000 (11:25 +0000)]
Minor adjustments to particle buttons and particle brush panels. Use only two rows in lists, and added greying out.
Ton Roosendaal [Sun, 16 Aug 2009 11:19:22 +0000 (11:19 +0000)]
2.5
AUD library Makefile missed ranlib for OSX.
Campbell Barton [Sun, 16 Aug 2009 11:16:04 +0000 (11:16 +0000)]
units for edge length and area mesh drawing.
William Reynish [Sun, 16 Aug 2009 09:47:33 +0000 (09:47 +0000)]
Minor adjustments to game physics. Moved some of the name changes into RNA and moved some options around for nicer alignment.
Campbell Barton [Sun, 16 Aug 2009 08:36:08 +0000 (08:36 +0000)]
- typos in boxpack comments (incorrectly had comment that it was from NAN)
- removed unused defines STREQ, STREQ2, STREQ3 and MINSIZE
Campbell Barton [Sun, 16 Aug 2009 07:26:29 +0000 (07:26 +0000)]
- added RNA_struct_free_extension rather then having the funcs in each 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.
Nicholas Bishop [Sun, 16 Aug 2009 05:48:07 +0000 (05:48 +0000)]
2.5/Modes:
* 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 :)
Campbell Barton [Sun, 16 Aug 2009 04:59:11 +0000 (04:59 +0000)]
missing args for rna funciton. comment on rna leak with type registering that I haven't been able to fix yet.
Matt Ebb [Sun, 16 Aug 2009 03:59:39 +0000 (03:59 +0000)]
Changed material RNA 'emit' value to be soft limited at 2.0 rather than hard limited.
Campbell Barton [Sun, 16 Aug 2009 03:51:25 +0000 (03:51 +0000)]
fix compile error for the BGE
Campbell Barton [Sun, 16 Aug 2009 03:40:00 +0000 (03:40 +0000)]
- replace rna context.mode_string with an enum context.mode, that way its self documenting and is used as a string from py anyway.
- view3d use select menus use the context.mode enum value.
- if selectmenu in dir(bpy.types) # creates a list of 1400+ strings, does a lookup and throws them away, better avoid this for redrawing.
Nicholas Bishop [Sun, 16 Aug 2009 03:24:23 +0000 (03:24 +0000)]
2.5/Posemode:
* 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.
Nicholas Bishop [Sun, 16 Aug 2009 02:49:37 +0000 (02:49 +0000)]
2.5:
* Updated object mode flags with Object and Edit.
* Updated RNA for that property
Joshua Leung [Sun, 16 Aug 2009 02:43:06 +0000 (02:43 +0000)]
Animation Editors: Visibility Toggles for Datablocks now work
Nicholas Bishop [Sun, 16 Aug 2009 02:35:44 +0000 (02:35 +0000)]
2.5/Particle edit:
* Made particle edit object-localized.
Joshua Leung [Sun, 16 Aug 2009 02:21:43 +0000 (02:21 +0000)]
Animation Editors: Code Cleanups (for Channel Lists) Part 2
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...
Nicholas Bishop [Sun, 16 Aug 2009 01:25:53 +0000 (01:25 +0000)]
2.5/Texture paint
* 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?
Guillermo S. Romero [Sat, 15 Aug 2009 23:42:16 +0000 (23:42 +0000)]
Remove astray tab chars.
Guillermo S. Romero [Sat, 15 Aug 2009 23:37:42 +0000 (23:37 +0000)]
Remove dynamic link directive as it seems we keep on with static approach.
Nicholas Bishop [Sat, 15 Aug 2009 22:35:00 +0000 (22:35 +0000)]
2.5/Paint:
* Added RNA for the object-localized modes
Thomas Dinges [Sat, 15 Aug 2009 22:28:48 +0000 (22:28 +0000)]
2.5 3DView Header:
* "Object" Menu is now written in python.
Nicholas Bishop [Sat, 15 Aug 2009 21:46:25 +0000 (21:46 +0000)]
2.5/Paint:
* 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
Nicholas Bishop [Sat, 15 Aug 2009 20:36:15 +0000 (20:36 +0000)]
2.5/Vertex paint:
* Made vertex paint local to object, like sculpt mode.
* New test for vertex paint is (ob->mode & OB_MODE_VERTEX_PAINT)
Thomas Dinges [Sat, 15 Aug 2009 20:21:49 +0000 (20:21 +0000)]
2.5 3DView:
* Renaming of edit mode context types.
* Code cleanup.
Nicholas Bishop [Sat, 15 Aug 2009 19:48:50 +0000 (19:48 +0000)]
2.5, continuing work with localizing paint modes.
* 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.
Thomas Dinges [Sat, 15 Aug 2009 19:40:09 +0000 (19:40 +0000)]
2.5 3D_View:
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.