blender.git
10 years ago- rna sequence sound was referencing unknown struct
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

10 years ago2.5/Sculpt:
Nicholas Bishop [Mon, 17 Aug 2009 17:49:33 +0000 (17:49 +0000)]
2.5/Sculpt:

* Fixed a mem leak with the grab brush

10 years ago2.5 Particle edit:
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

10 years ago2.5 editmode:
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)

10 years agorna reference doc generation
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

10 years ago2.5:
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.

10 years ago2.5
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.

10 years ago2.5/Sculpt:
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.

10 years ago2.5 paint:
Nicholas Bishop [Mon, 17 Aug 2009 15:17:45 +0000 (15:17 +0000)]
2.5 paint:

* Fixed texture paint UI

10 years ago2.5 Paint:
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.

10 years agounits with no separator can now be typed into number buttons - eg, 5'7" 2km4m
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

10 years ago2.5 Timeline:
Thomas Dinges [Mon, 17 Aug 2009 11:45:24 +0000 (11:45 +0000)]
2.5 Timeline:

* Added "Only selected" Option in View menu.

10 years ago* libjack.dll copying
Nathan Letwory [Mon, 17 Aug 2009 11:39:34 +0000 (11:39 +0000)]
* libjack.dll copying

10 years ago* I accidently committed a tainted SConstruct with some old tests. This disabled...
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.

10 years ago2.5 - Bugfixes:
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.

10 years ago2.5 3DView:
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.

10 years ago* Jack support should be off by default until things have been cleared up (see meetin...
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)

10 years ago2.5 - Keying Sets Fixes
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.

10 years agopaint toolbox layout grouping
Campbell Barton [Mon, 17 Aug 2009 07:35:23 +0000 (07:35 +0000)]
paint toolbox layout grouping

10 years agoscons support for extracting python from the system on unix os's
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

10 years ago2.5 Texture paint:
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

10 years agomesh operator documentation patch from Ron walker, (edited a few of the descriptions)
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)

10 years ago2.5/Sculpt:
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.

10 years ago2.5 Paint:
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

10 years ago== SCons ==
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.

10 years ago2.5 Paint:
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.

10 years ago2.5 Armatures:
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.

10 years ago2.5 Timeline:
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.

10 years ago2.5: Fix timeline space redraw properties, these were not RNA wrapped
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.

10 years ago2.5:
Nicholas Bishop [Sun, 16 Aug 2009 23:06:16 +0000 (23:06 +0000)]
2.5:

* Fixed a few warnings (unused vars, missing forward struct)

10 years ago2.5: Render Api
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.

10 years ago2.5
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?

10 years agoAdd jack subdir makefile and standarize audaspace sub-lib names.
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.

10 years agoAdd debug support like other libs.
Guillermo S. Romero [Sun, 16 Aug 2009 22:35:22 +0000 (22:35 +0000)]
Add debug support like other libs.

10 years ago2.5 Timeline:
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 :)

10 years ago2.5:
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)

10 years agoSVN maintenance.
Guillermo S. Romero [Sun, 16 Aug 2009 20:53:10 +0000 (20:53 +0000)]
SVN maintenance.

10 years ago2.5: Sound
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.

10 years ago2.5: Added operator ui() callback for defining own ui layout
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.

10 years ago2.5: Update GPU module to deal with removed G_TEXTUREPAINT
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.

10 years ago2.5 Sculpt:
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

10 years ago2.5
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)

10 years agocopy the systems python to the install dir for re-distrobution (non-osx unix), remove...
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

10 years ago2.5
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.

10 years ago2.5 Object mode:
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.

10 years agosimple crash fix
Campbell Barton [Sun, 16 Aug 2009 16:35:14 +0000 (16:35 +0000)]
simple crash fix

10 years ago2.5 Timeline:
Thomas Dinges [Sun, 16 Aug 2009 16:15:13 +0000 (16:15 +0000)]
2.5 Timeline:

* Python conversion is nearly done, still uncommented.

10 years agorna function return values in generated docs,
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.

10 years agotweaked units layout
William Reynish [Sun, 16 Aug 2009 15:45:27 +0000 (15:45 +0000)]
tweaked units layout

10 years ago2.5: RNA, added context.screen.animation_playing to detect
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.

10 years agoAdded jack audio support, building with cmake only currently, feel free to add scons...
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.

10 years ago2.5/RNA:
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.

10 years ago2.5:
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.

10 years ago2.5
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.

10 years ago2.5
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.

10 years ago2.5 3DView Header:
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".

10 years agoown mistake, __rna__ wasnt causing circular references. python can handle this. chang...
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.

10 years ago2.5
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.

10 years agoMinor adjustments to particle buttons and particle brush panels. Use only two rows...
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.

10 years ago2.5
Ton Roosendaal [Sun, 16 Aug 2009 11:19:22 +0000 (11:19 +0000)]
2.5

AUD library Makefile missed ranlib for OSX.

10 years agounits for edge length and area mesh drawing.
Campbell Barton [Sun, 16 Aug 2009 11:16:04 +0000 (11:16 +0000)]
units for edge length and area mesh drawing.

10 years agoMinor adjustments to game physics. Moved some of the name changes into RNA and moved...
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.

10 years ago- typos in boxpack comments (incorrectly had comment that it was from NAN)
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

10 years ago- added RNA_struct_free_extension rather then having the funcs in each unregister...
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.

10 years ago2.5/Modes:
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 :)

10 years agomissing args for rna funciton. comment on rna leak with type registering that I haven...
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.

10 years agoChanged material RNA 'emit' value to be soft limited at 2.0 rather than hard limited.
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.

10 years agofix compile error for the BGE
Campbell Barton [Sun, 16 Aug 2009 03:51:25 +0000 (03:51 +0000)]
fix compile error for the BGE

10 years ago- replace rna context.mode_string with an enum context.mode, that way its self docume...
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.

10 years ago2.5/Posemode:
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.

10 years ago2.5:
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

10 years agoAnimation Editors: Visibility Toggles for Datablocks now work
Joshua Leung [Sun, 16 Aug 2009 02:43:06 +0000 (02:43 +0000)]
Animation Editors: Visibility Toggles for Datablocks now work

10 years ago2.5/Particle edit:
Nicholas Bishop [Sun, 16 Aug 2009 02:35:44 +0000 (02:35 +0000)]
2.5/Particle edit:

* Made particle edit object-localized.

10 years agoAnimation Editors: Code Cleanups (for Channel Lists) Part 2
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...

10 years ago2.5/Texture paint
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?

10 years agoRemove astray tab chars.
Guillermo S. Romero [Sat, 15 Aug 2009 23:42:16 +0000 (23:42 +0000)]
Remove astray tab chars.

10 years agoRemove dynamic link directive as it seems we keep on with static approach.
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.

10 years ago2.5/Paint:
Nicholas Bishop [Sat, 15 Aug 2009 22:35:00 +0000 (22:35 +0000)]
2.5/Paint:

* Added RNA for the object-localized modes

10 years ago2.5 3DView Header:
Thomas Dinges [Sat, 15 Aug 2009 22:28:48 +0000 (22:28 +0000)]
2.5 3DView Header:

* "Object" Menu is now written in python.

10 years ago2.5/Paint:
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

10 years ago2.5/Vertex paint:
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)

10 years ago2.5 3DView:
Thomas Dinges [Sat, 15 Aug 2009 20:21:49 +0000 (20:21 +0000)]
2.5 3DView:

* Renaming of edit mode context types.
* Code cleanup.

10 years ago2.5, continuing work with localizing paint modes.
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.

10 years ago2.5 3D_View:
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.

10 years ago2.5: Increase subversion, to avoid doing 2.5 do_versions code each time.
Brecht Van Lommel [Sat, 15 Aug 2009 19:38:52 +0000 (19:38 +0000)]
2.5: Increase subversion, to avoid doing 2.5 do_versions code each time.

10 years ago2.5: Material buttons
Brecht Van Lommel [Sat, 15 Aug 2009 19:35:03 +0000 (19:35 +0000)]
2.5: Material buttons

* 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.

10 years ago2.5: fix for layout engine, increase default size of number buttons
Brecht Van Lommel [Sat, 15 Aug 2009 19:31:49 +0000 (19:31 +0000)]
2.5: fix for layout engine, increase default size of number buttons
in headers.

10 years ago2.5/Sculpt:
Nicholas Bishop [Sat, 15 Aug 2009 18:58:01 +0000 (18:58 +0000)]
2.5/Sculpt:

* 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

10 years agodont link against SDL when disabled
Campbell Barton [Sat, 15 Aug 2009 17:46:45 +0000 (17:46 +0000)]
dont link against SDL when disabled

10 years ago2.5: Screen/Scene New/Delete operators.
Brecht Van Lommel [Sat, 15 Aug 2009 16:43:03 +0000 (16:43 +0000)]
2.5: Screen/Scene New/Delete operators.

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.

10 years ago2.5: warning fixes
Brecht Van Lommel [Sat, 15 Aug 2009 16:36:25 +0000 (16:36 +0000)]
2.5: warning fixes

Directories intern/ and source/blender/ now compile warning
free again here with scons/gcc.

10 years agoFix for View All operator in 3dview, was not working because of missing code.
Elia Sarti [Sat, 15 Aug 2009 14:37:40 +0000 (14:37 +0000)]
Fix for View All operator in 3dview, was not working because of missing code.

10 years ago2.5 Physic Buttons:
Thomas Dinges [Sat, 15 Aug 2009 14:16:50 +0000 (14:16 +0000)]
2.5 Physic Buttons:

Patch by nudelZ. Thanks.
* Some layout and code cleanup.
* Made Collision Panel use Modifier Layout with Add/remove Operator.

10 years ago- remove UNSET becuase it only works with newer versions of cmake,
Campbell Barton [Sat, 15 Aug 2009 13:30:28 +0000 (13:30 +0000)]
- remove UNSET becuase it only works with newer versions of cmake,
- changed the SDL and Freetype vars to match CMake's names
- removed unneeded freetype, SDL and ftgl includes

10 years ago2.5 Sequencer:
Thomas Dinges [Sat, 15 Aug 2009 13:06:21 +0000 (13:06 +0000)]
2.5 Sequencer:

* Added Marker Operator Buttons in Menu, although they don't show up inside the Sequencer yet.

* Code Cleanup.

10 years agoFix for shift-selecting manipulator types. Now redraws correctly 3dview.
Elia Sarti [Sat, 15 Aug 2009 12:47:59 +0000 (12:47 +0000)]
Fix for shift-selecting manipulator types. Now redraws correctly 3dview.

10 years agoCompile fix.
Thomas Dinges [Sat, 15 Aug 2009 10:50:30 +0000 (10:50 +0000)]
Compile fix.
Variable was in wrong place, caused errors in msvc.
Fix by Lguillaume in IRC.

10 years agochanges to help refcounts in rna be more predictable (still leaks when reloading...
Campbell Barton [Sat, 15 Aug 2009 09:53:38 +0000 (09:53 +0000)]
changes to help refcounts in rna be more predictable (still leaks when reloading on - F8)

10 years agoRNA Types were storing an instance of themself for class introspection and docs but...
Campbell Barton [Sat, 15 Aug 2009 05:05:23 +0000 (05:05 +0000)]
RNA Types were storing an instance of themself for class introspection and docs but makes freeing the type complicated.

now __rna__ is a PyCObject rather then a BPy_StructRNA instance, to get the rna from python use __get_rna() now.

10 years agoCommenting out code from commit 22457 by Genscher for PointCache.
Joshua Leung [Sat, 15 Aug 2009 00:40:44 +0000 (00:40 +0000)]
Commenting out code from commit 22457 by Genscher for PointCache.

There was some missing code or something causing compiling problems.