blender.git
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.

10 years agoCTX_wm_reports needs to return NULL when wm.manager is NULL (this happens in backgrou...
Martin Poirier [Fri, 14 Aug 2009 18:18:19 +0000 (18:18 +0000)]
CTX_wm_reports needs to return NULL when wm.manager is NULL (this happens in background mode).

This fixes a segfault on quit in background mode. Now it reports unfreed datablocks, someone should fix that.

10 years agoPointcache:
Daniel Genrich [Fri, 14 Aug 2009 17:39:27 +0000 (17:39 +0000)]
Pointcache:
* prepare pointcache for smoke (smoke doesn't use it yet, commit follows later)

10 years agocmake changes
Campbell Barton [Fri, 14 Aug 2009 17:16:16 +0000 (17:16 +0000)]
cmake changes
- set python to 3.1 on linux (dont use FindPackage for now)
- remove duplicate settings (disable cache for copied settings, was quite confusing)
- added an option WITH_INSTALL, when disabled scripts and language files wont be copied to the target dir (better for quick builds)
- remove .svn (was still CVS), and pyc/pyc files after copy
- copy the 'io' as well as 'ui'

10 years agoProper copy code for multiple point caches.
Janne Karhu [Fri, 14 Aug 2009 16:25:59 +0000 (16:25 +0000)]
Proper copy code for multiple point caches.

10 years ago2.5/Paint modes:
Nicholas Bishop [Fri, 14 Aug 2009 15:47:32 +0000 (15:47 +0000)]
2.5/Paint modes:

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

10 years agosome fixes for netbsd with cmake
Campbell Barton [Fri, 14 Aug 2009 13:13:36 +0000 (13:13 +0000)]
some fixes for netbsd with cmake
- CMake, use FIND_PACKAGE(Freetype) for unix/linux
- Only link with libdl.so on linux
- use statvfs rather then statfs for netbsd (size of statfs wasnt available)
- add x11 include path with ghost, glu.

10 years ago- registering new python classes runs the free functions on existing classes.
Campbell Barton [Fri, 14 Aug 2009 12:29:55 +0000 (12:29 +0000)]
- registering new python classes runs the free functions on existing classes.
- print an error if RNA Structs are freed with a python pointer set to help with debugging leaks.
- fix for unlikely eternal loop in unit conversion.

10 years ago2.5 - Assorted Animation UI Tweaks
Joshua Leung [Fri, 14 Aug 2009 11:09:19 +0000 (11:09 +0000)]
2.5 - Assorted Animation UI Tweaks

* 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

10 years ago2.5/Paint modes:
Nicholas Bishop [Fri, 14 Aug 2009 04:45:29 +0000 (04:45 +0000)]
2.5/Paint modes:

* Moved brush curve preset operator out of sculpt to paint_utils
* Added a button to the curve panel to set the preset

10 years ago2.5/Multires:
Nicholas Bishop [Fri, 14 Aug 2009 01:48:05 +0000 (01:48 +0000)]
2.5/Multires:

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.

10 years agoClean some whitespace.
Guillermo S. Romero [Fri, 14 Aug 2009 00:32:29 +0000 (00:32 +0000)]
Clean some whitespace.

10 years agoChanged to able compile libsamplerate properly
Joilnen Leite [Fri, 14 Aug 2009 00:14:20 +0000 (00:14 +0000)]
Changed to able compile libsamplerate properly

10 years ago2.5 Timeline:
Thomas Dinges [Thu, 13 Aug 2009 22:10:50 +0000 (22:10 +0000)]
2.5 Timeline:

* Added some menus and buttons. Still uncommented.

10 years agoSmoke: bugfix - tray, not tvox
Daniel Genrich [Thu, 13 Aug 2009 21:30:48 +0000 (21:30 +0000)]
Smoke: bugfix - tray, not tvox

10 years agoSmoke: no lamp results in no shading (requested by nudelZ)
Daniel Genrich [Thu, 13 Aug 2009 21:29:05 +0000 (21:29 +0000)]
Smoke: no lamp results in no shading (requested by nudelZ)

10 years ago2.5/Sculpt:
Nicholas Bishop [Thu, 13 Aug 2009 20:05:36 +0000 (20:05 +0000)]
2.5/Sculpt:

* 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

10 years agoMSVC compile fix.
Andrea Weikert [Thu, 13 Aug 2009 18:26:15 +0000 (18:26 +0000)]
MSVC compile fix.
* replaced snprintf with BLI_snprintf
* in unit.c used the #define hack used in several places already to avoid adding additional dependency.

10 years agoadded string max length option for unit functions bUnit_AsString and bUnit_ReplaceString
Campbell Barton [Thu, 13 Aug 2009 17:05:27 +0000 (17:05 +0000)]
added string max length option for unit functions bUnit_AsString and bUnit_ReplaceString

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

WIP Commit, still uncommented.
* Adeed some RNA properties for Playback.
* Start of Python File.

10 years agoSome changes to smoke ui (path by nudelZ) - this divides the panel in normal and...
Daniel Genrich [Thu, 13 Aug 2009 14:27:35 +0000 (14:27 +0000)]
Some changes to smoke ui (path by nudelZ) - this divides the panel in normal and advanced options

10 years ago2.5 - Fix for segfaults with entering text in normal number buttons (i.e. frame butto...
Joshua Leung [Thu, 13 Aug 2009 11:54:12 +0000 (11:54 +0000)]
2.5 - Fix for segfaults with entering text in normal number buttons (i.e. frame buttons in timeline header).

10 years agoAccidentally made the game collision bounds panel display itself when Blender Render...
William Reynish [Thu, 13 Aug 2009 09:30:36 +0000 (09:30 +0000)]
Accidentally made the game collision bounds panel display itself when Blender Render was selected as the renderer.

10 years ago- moved unit settings from user prefs into the scene.
Campbell Barton [Thu, 13 Aug 2009 07:37:41 +0000 (07:37 +0000)]
- moved unit settings from user prefs into the scene.
- 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.

10 years ago2.5 - Assorted cleanups
Joshua Leung [Thu, 13 Aug 2009 07:28:51 +0000 (07:28 +0000)]
2.5 - Assorted cleanups

* Silencing some compiler warnings
* Set paths for Scene rendering settings so that they can be animated (or at least won't produce error warnings)

10 years agoAdded game soft body settings, and cleaned up layout there slightly.
William Reynish [Wed, 12 Aug 2009 22:16:47 +0000 (22:16 +0000)]
Added game soft body settings, and cleaned up layout there slightly.
Also converted some other percentage properties to use sliders, and a few other small layout tweaks.

10 years ago* fixing linking flag form.
Nathan Letwory [Wed, 12 Aug 2009 18:12:33 +0000 (18:12 +0000)]
* fixing linking flag form.

10 years ago2.5 MSVC 9 projectfiles maintenance
Andrea Weikert [Wed, 12 Aug 2009 18:06:30 +0000 (18:06 +0000)]
2.5 MSVC 9 projectfiles maintenance
* rev. 22367: splitting of anim_channels.c
* rev. 22383: units.c in blenkernel added
* Fix include paths was intern/audaspace, code expected intern/audaspace/intern

10 years agoMistake in previous commit.
Janne Karhu [Wed, 12 Aug 2009 17:41:03 +0000 (17:41 +0000)]
Mistake in previous commit.