9 years agomade cmake ghost file less confusing (was globbing then removing files for each system).
Campbell Barton [Sat, 15 May 2010 12:16:19 +0000 (12:16 +0000)]
made cmake ghost file less confusing (was globbing then removing files for each system).

9 years agoFIX: Enter didn't work in filebrowser when mouse inside icon or preview
Andrea Weikert [Sat, 15 May 2010 11:52:59 +0000 (11:52 +0000)]
FIX: Enter didn't work in filebrowser when mouse inside icon or preview

Note: This is yet another problem that results from the fact that the icon/preview in file browser is now a button rather than just drawn as an image. (Similar to LEFMOUSE not working in filebrowser). This should be checked on as the fix might cause issues in the future when using image drag buttons in other parts of Blender.

9 years agoMake creating and saving previews for Lamp, World, Texture, Material and Image databl...
Andrea Weikert [Sat, 15 May 2010 10:37:21 +0000 (10:37 +0000)]
Make creating and saving previews for Lamp, World, Texture, Material and Image datablocks consistent.
- For now the larger previews are created at the same time the small preview icons are created
- This brings back the previews when appending/linking

9 years agoTweak to previous commit - the corrections shouldn't be done for translations, since...
Joshua Leung [Sat, 15 May 2010 03:55:34 +0000 (03:55 +0000)]
Tweak to previous commit - the corrections shouldn't be done for translations, since that causes too many problems.

9 years agoDurian request: Attempted fix for rotations not taking non-uniform scaling of Graph...
Joshua Leung [Sat, 15 May 2010 02:40:44 +0000 (02:40 +0000)]
Durian request: Attempted fix for rotations not taking non-uniform scaling of Graph Editor views into account.

With this fix, handles do not appear to rotate as violently as before, though this correction may still be too subtle to be noticed by many users.

9 years agoLogic UI: setting all State temporarly to 1 when clicking in ALL (so it's more inform...
Dalai Felinto [Fri, 14 May 2010 23:09:55 +0000 (23:09 +0000)]
Logic UI: setting all State temporarly to 1 when clicking in ALL (so it's more informative I think)

9 years agopatch from Dan Eicher
Campbell Barton [Fri, 14 May 2010 21:16:37 +0000 (21:16 +0000)]
patch from Dan Eicher
rna add/remove functions for lattices, brushes and metaballs

9 years agofix for hair distrobution changing when rendered with a different number of threads...
Campbell Barton [Fri, 14 May 2010 18:09:59 +0000 (18:09 +0000)]
fix for hair distrobution changing when rendered with a different number of threads (manifested flickering hair back from renderfarm)

9 years agonoticed thread count was wrong in help message.
Campbell Barton [Fri, 14 May 2010 14:53:00 +0000 (14:53 +0000)]
noticed thread count was wrong in help message.

9 years ago== filebrowser ==
Andrea Weikert [Fri, 14 May 2010 10:50:43 +0000 (10:50 +0000)]
== filebrowser ==
* small update for thumbnails, now the thumbnail thread only runs when the filebrowser is in thumbnail view. (Thread was still running previously, even if it did nothing)
* this allows workaround for slower network drives, so the user can prevent thumbnail generation when not displaying them.

9 years agoLogic UI: add name option for add operators + ALL button in controller states is...
Dalai Felinto [Fri, 14 May 2010 10:45:50 +0000 (10:45 +0000)]
Logic UI: add name option for add operators + ALL button in controller states is working now + fix for actuator STATES filtering option.

Extra comments related bugs:
1)"actuators_show_active_states" doesn't seem to produce any effect (maybe because PIN is not implemented yet? therefore it's always on?

2)If you set the name to be bigger than 32 it will crashes blender (somehow for s/c/a the get function instead of using the defined 32 maxlen it's using 160 (from UserPrerencesFilePaths_python_scriptsdirectory_get ),

3)properties currently can have the same name as s/c/a and they shouldn't.

4)we need an option to show and/or set the STATE of a given controller (in 2.49 it's the number by the controller name)

9 years agoFixes for crashes when trying to add/remove properties from builtin Keying Sets,...
Joshua Leung [Fri, 14 May 2010 10:28:29 +0000 (10:28 +0000)]
Fixes for crashes when trying to add/remove properties from builtin Keying Sets, which shouldn't be editable in this way.

9 years agoSphinx theme from Alex Sytnik (smerch) for API Docs
Campbell Barton [Fri, 14 May 2010 10:21:57 +0000 (10:21 +0000)]
Sphinx theme from Alex Sytnik (smerch) for API Docs
You wouldnt know its not :D

from revision 39 of

9 years agoMakefiles: fixed opencollada include path
Stefan Gartner [Fri, 14 May 2010 08:16:45 +0000 (08:16 +0000)]
Makefiles: fixed opencollada include path

9 years agoDisable thumbnail generation when the thumbnail view is not enabled,
Campbell Barton [Fri, 14 May 2010 07:21:29 +0000 (07:21 +0000)]
Disable thumbnail generation when the thumbnail view is not enabled,
was slowing down browsing on NFS.

9 years agoFix [#22337] Wrong operator descriptions
Matt Ebb [Fri, 14 May 2010 07:20:16 +0000 (07:20 +0000)]
Fix [#22337] Wrong operator descriptions

9 years agoFix:
Matt Ebb [Fri, 14 May 2010 07:09:15 +0000 (07:09 +0000)]
[#22310] Duplicate Does Not Propogate SimpleDeform's VGroup
[#22321] duplicating object with smoke settings doesnt duplicate smoke settings

^ Genscher, you may want to check that but I thought it was pretty straightforward.

9 years agoFix #22137: Shrink wrap modifer with curves, projection bug
Sergey Sharybin [Thu, 13 May 2010 19:23:52 +0000 (19:23 +0000)]
Fix #22137: Shrink wrap modifer with curves, projection bug

Always pack DispList into one block for deformation modifiers and
create DerivedMesh for all curve objects passed to get_dm. This would
fix problems with modifiers when they're creating dm for
additional information (as it's made in shrinkwrap for normals).

Small additional code cleanup in curve_calc_modifiers_post().

9 years agouse ID_REAL_USERS macro
Campbell Barton [Thu, 13 May 2010 09:22:05 +0000 (09:22 +0000)]
use ID_REAL_USERS macro

9 years agoBugfix #22319: Cannot convert ShapeKeys into NLA strips
Joshua Leung [Thu, 13 May 2010 09:14:58 +0000 (09:14 +0000)]
Bugfix #22319: Cannot convert ShapeKeys into NLA strips

Typo for which ID-block got passed for shapekeys...

9 years agorestrict render_clear was operating on hidden objects, now work on selection
Campbell Barton [Thu, 13 May 2010 07:53:06 +0000 (07:53 +0000)]
restrict render_clear was operating on hidden objects, now work on selection

9 years agoTweak to text editor context menu
Matt Ebb [Thu, 13 May 2010 01:46:48 +0000 (01:46 +0000)]
Tweak to text editor context menu

9 years agoremove use of global 'G'
Campbell Barton [Wed, 12 May 2010 22:47:37 +0000 (22:47 +0000)]
remove use of global 'G'

9 years agoBring back the pupmenu for "select object in the same group"
Diego Borghetti [Wed, 12 May 2010 22:29:32 +0000 (22:29 +0000)]
Bring back the pupmenu for "select object in the same group"
when the object have more that one group.

I put a XXX because the selection function use G.main to
get the group, probably we need a CTX_DATA_BEGIN for
groups ? Brecht ? Campbell ?

I make a new operator for the pupmenu, it's only for the
selection menu, so don't have any key binding.

Matt, can you check ?

9 years agoNode Space: tweak the zoom in/out value.
Diego Borghetti [Wed, 12 May 2010 18:51:36 +0000 (18:51 +0000)]
Node Space: tweak the zoom in/out value.

Venomgfx request to allow more zoom in/out value.
Also put the code to path old files, so in the next
subversion bump we need move the code.

9 years agoComposite Node bug: the CTRL+SHIFT+Click to make a node connect to
Ton Roosendaal [Wed, 12 May 2010 17:27:25 +0000 (17:27 +0000)]
Composite Node bug: the CTRL+SHIFT+Click to make a node connect to
viewer didn't take hidden sockets in account.

9 years agoSmall change to Node Space and two new function.
Diego Borghetti [Wed, 12 May 2010 13:55:09 +0000 (13:55 +0000)]
Small change to Node Space and two new function.

"Select all of the same type" now is binding to Shift + GKEY

Two new function, select next and prev node of the same type.

Select a node and press Shift + [ or Shift + ] go to the
previous and next node of the same type (of the active node).

9 years agoNode Space: Small feature for Venomgfx, Shift + F select node of the same type
Diego Borghetti [Wed, 12 May 2010 12:03:38 +0000 (12:03 +0000)]
Node Space: Small feature for Venomgfx, Shift + F select node of the same type

This is a small request from Venomgfx, select a node
and then press Shift + F to select all the nodes of the
same type (of the active node).

The key binding can be change, we thing in a "Find Next" (that is
way the FKEY) with venomgfx, but no problem with change that.

Also I add the entry in the select menu.

9 years agoLogic UI: Controller header, moving the text to the left
Dalai Felinto [Wed, 12 May 2010 08:53:44 +0000 (08:53 +0000)]
Logic UI: Controller header, moving the text to the left

9 years agoLogic UI: Controller State
Dalai Felinto [Wed, 12 May 2010 08:34:15 +0000 (08:34 +0000)]
Logic UI: Controller State

New design, with an option to hide/unhide it.

1) the way I managed to have the I selected is kind of nasty :) but I think it will have to wait for proper icons.

2) the ALL is so far only working visually, It's still have to change the code to make all sensors and actuators visible when ALL is on. I think this is better than actually marking all states as before (2.49). Maybe it's even nicer nice to have not only have the states disactivated (in gray as they are now), but also to show them as temporary marked. Is that interesting/possible?

3) Can't centralize it :(

4) I think you are right, the icons are nice, but uninformative ... for someone else curious:

9 years agoAdd a little RMB context menu to text editor
Matt Ebb [Wed, 12 May 2010 08:03:36 +0000 (08:03 +0000)]
Add a little RMB context menu to text editor

9 years agoAnother one for drag and drop:
Matt Ebb [Wed, 12 May 2010 04:25:33 +0000 (04:25 +0000)]
Another one for drag and drop:
Allow dropping image files from outside blender, or image datablocks from inside blender
to the compositing node editor, to add an image node.

Also small tweak: Only set 'path' properties on drops, if the drag->path isn't empty.

9 years agofix for hanging while drawing fcurves, the function made some attempt to avoid the...
Campbell Barton [Tue, 11 May 2010 21:46:20 +0000 (21:46 +0000)]
fix for hanging while drawing fcurves, the function made some attempt to avoid the problem but when the view is zero pixels wide it still hung for some time.

9 years agodrawing volume had a buffer overrun in some cases
Campbell Barton [Tue, 11 May 2010 20:38:01 +0000 (20:38 +0000)]
drawing volume had a buffer overrun in some cases

9 years agomerge of last commit to trunk
Joseph Eagar [Tue, 11 May 2010 20:06:20 +0000 (20:06 +0000)]
merge of last commit to trunk

9 years agofix for crash reading pointcache, was reading over the buffer size, use lzo1x_decompr...
Campbell Barton [Tue, 11 May 2010 19:37:17 +0000 (19:37 +0000)]
fix for crash reading pointcache, was reading over the buffer size, use lzo1x_decompress_safe rather then lzo1x_decompress

9 years agoDropbox refinement in 3d window: the "drop image" dropbox checks for
Ton Roosendaal [Tue, 11 May 2010 14:25:48 +0000 (14:25 +0000)]
Dropbox refinement in 3d window: the "drop image" dropbox checks for
object under mouse cursor. If not, another dropbox operation can be used.

9 years ago bpy.utils.blend_paths(absolute=False) (was Blender.GetPaths in 2.4x)
Campbell Barton [Tue, 11 May 2010 07:08:32 +0000 (07:08 +0000)]
 bpy.utils.blend_paths(absolute=False)  (was Blender.GetPaths in 2.4x)

9 years agoLogic UI: using the RNA interface as default - commit pre-subversion bumping (i.e...
Dalai Felinto [Tue, 11 May 2010 06:56:59 +0000 (06:56 +0000)]
Logic UI: using the RNA interface as default - commit pre-subversion bumping (i.e. no DNA changes here)

Also: extra set funcs, layout adjustments

The patch for the subversion commit was getting too big, and it will be hard to distinguish what was essentially do_version + DNA changes and what was layout adjustments.

So this is the first part of the commit. The next may take a bit more because I'm not so confident in my readfile changes.

9 years agoutility functions
Campbell Barton [Mon, 10 May 2010 20:41:01 +0000 (20:41 +0000)]
utility functions

9 years agomake python keyframe insert and delete functions use keyword arguments
Campbell Barton [Mon, 10 May 2010 18:47:03 +0000 (18:47 +0000)]
make python keyframe insert and delete functions use keyword arguments

9 years agoWrong operator description in preset base class.
Thomas Dinges [Mon, 10 May 2010 18:04:04 +0000 (18:04 +0000)]
Wrong operator description in preset base class.

9 years agoThemes "3D View":
Thomas Dinges [Mon, 10 May 2010 17:54:34 +0000 (17:54 +0000)]
Themes "3D View":
*Minor code changes and added some missing edge settings.

9 years ago"Every Nth number of Points" operator for curves/surfaces
Sergey Sharybin [Mon, 10 May 2010 17:32:11 +0000 (17:32 +0000)]
"Every Nth number of Points" operator for curves/surfaces

This is replacement of old "Select every Nth" operator with
de-select strategy to make the same behaviour as for meshes.

9 years agoRecommit fix that I seem to have uncommitted accidentally, had the fix
Brecht Van Lommel [Mon, 10 May 2010 15:02:37 +0000 (15:02 +0000)]
Recommit fix that I seem to have uncommitted accidentally, had the fix
still in my source tree but svn wasn't showing any diffs.. weird.

9 years agoremove usless ../../ with 'Make Paths Absolute' operator
Campbell Barton [Mon, 10 May 2010 12:58:21 +0000 (12:58 +0000)]
remove usless ../../ with 'Make Paths Absolute' operator

9 years agoTweak for elubie, scroll main file selector window immediately when newly added
Matt Ebb [Mon, 10 May 2010 08:57:58 +0000 (08:57 +0000)]
Tweak for elubie, scroll main file selector window immediately when newly added
folder is out of view.

9 years agoFixed a crash when dropping items on the 3D View background. Todo: Make it add a...
William Reynish [Mon, 10 May 2010 08:05:31 +0000 (08:05 +0000)]
Fixed a crash when dropping items on the 3D View background. Todo: Make it add a backdrop image ;)

9 years agoEnable external drag/drops into text editor
Matt Ebb [Mon, 10 May 2010 06:29:34 +0000 (06:29 +0000)]
Enable external drag/drops into text editor

9 years agoGive Sensors/Controllers/Actuators more sensible names when they're created
Matt Ebb [Mon, 10 May 2010 05:46:01 +0000 (05:46 +0000)]
Give Sensors/Controllers/Actuators more sensible names when they're created
(based on their type)

9 years agoAdded search list widget for 'actuator sensor' too.
Matt Ebb [Mon, 10 May 2010 04:59:44 +0000 (04:59 +0000)]
Added search list widget for 'actuator sensor' too.

9 years agoUpdate Armature actuator UI to use pointer list widgets, rather than text entry fields
Matt Ebb [Mon, 10 May 2010 04:49:09 +0000 (04:49 +0000)]
Update Armature actuator UI to use pointer list widgets, rather than text entry fields

9 years agoFix for histogram Luma mode not working when waveform is in RGB mode.
Xavier Thomas [Mon, 10 May 2010 03:42:22 +0000 (03:42 +0000)]
Fix for histogram Luma mode not working when waveform is in RGB mode.
Also unified the scope vocabulary.

9 years agoFix [#22296] Wrong Operator Names?
Matt Ebb [Mon, 10 May 2010 01:49:35 +0000 (01:49 +0000)]
Fix [#22296] Wrong Operator Names?

9 years agoTweaks to image editor scopes, while testing a bug
Matt Ebb [Mon, 10 May 2010 01:46:44 +0000 (01:46 +0000)]
Tweaks to image editor scopes, while testing a bug

9 years agoTurned on auto-execute python scripts by default, as agreed in recent meeting.
Matt Ebb [Mon, 10 May 2010 01:44:55 +0000 (01:44 +0000)]
Turned on auto-execute python scripts by default, as agreed in recent meeting.

Also added notice to download page:

Which links to here, too:

9 years agoImproved the Ray Sensor UI in the updated Logic Editor.
William Reynish [Mon, 10 May 2010 00:12:36 +0000 (00:12 +0000)]
Improved the Ray Sensor UI in the updated Logic Editor.

9 years agoAdded backspace as an alternative to the X key, for deleting things.
William Reynish [Sun, 9 May 2010 21:37:53 +0000 (21:37 +0000)]
Added backspace as an alternative to the X key, for deleting things.

9 years ago***Drag and drop fun!***
William Reynish [Sun, 9 May 2010 18:07:17 +0000 (18:07 +0000)]
***Drag and drop fun!***

Added ability to drag images and movies directly onto objects to assign them as textures.

You can drag them from the file browser, directly from the OS or even from other apps. Here's a video to demonstrate:

Ton wanted to show me how to add it, but he ended up doing almost all of the coding himself ;)

Ton/Matt: Dropping a text file in the Text Editor fails for some reason. It aught to work - probably a keymap conflict of some sorts?

9 years agobuilding docs failed when the output directory didnt alredy exist.
Campbell Barton [Sun, 9 May 2010 17:18:57 +0000 (17:18 +0000)]
building docs failed when the output directory didnt alredy exist.

9 years agominor cmake changes
Campbell Barton [Sun, 9 May 2010 14:43:31 +0000 (14:43 +0000)]
minor cmake changes
- only give quicktime option for apple and windows
- disable collada by default on non-apple-unix since its not in debian repo

9 years agoSome more IPO > F-Curve renaming in RNA.
Thomas Dinges [Sun, 9 May 2010 09:49:55 +0000 (09:49 +0000)]
Some more IPO > F-Curve renaming in RNA.

9 years agoRenaming IPO > F-Curve in the Logic Editor (Layout Engine version)
Thomas Dinges [Sun, 9 May 2010 09:43:49 +0000 (09:43 +0000)]
Renaming IPO > F-Curve in the Logic Editor (Layout Engine version)

9 years ago2.5 Constraint UI:
Thomas Dinges [Sun, 9 May 2010 08:33:18 +0000 (08:33 +0000)]
2.5 Constraint UI:
* Slight alignment change in header, to match modifiers box a bit better. Basically the "name" filed expands with the size of the properties panel now, which looks better imho.
* Code cleanup: Removed some old drawing functions, and the Python Constraint UI Code, which was not functional anyway.

9 years agomissing arg from docstring
Campbell Barton [Sun, 9 May 2010 00:37:12 +0000 (00:37 +0000)]
missing arg from docstring

9 years agopy/rna: defining new properties now replaces the old onces and raises an error if...
Campbell Barton [Sun, 9 May 2010 00:06:35 +0000 (00:06 +0000)]
py/rna: defining new properties now replaces the old onces and raises an error if they collide with dynamic props.

9 years agofunction to remove property
Campbell Barton [Sat, 8 May 2010 23:34:54 +0000 (23:34 +0000)]
function to remove property
 bpy.types.Scene.IntProperty(attr="myprop") # adds
 bpy.types.Scene.RemoveProperty(attr="myprop") # removes

9 years agoLogic UI - lookup for properties (matt need your help to finish it)
Dalai Felinto [Sat, 8 May 2010 22:11:00 +0000 (22:11 +0000)]
Logic UI - lookup for properties (matt need your help to finish it)

I based this code on drawnode, so I hope this is the right way of doing this.

Working Sensors:
- keyboard
- property

Working Actuators:
- property (partly)
- ipo
- action
- shape action
- message
- random

Need help with:
- actuator sensor
- property actuator (for the second object)

- touch/ray/collision sensors + constraint actuator
(for the material lookup, not the property one)
maybe a doversion + changing the type to material work better here
(as we have in touch sensor)

+ added notifier for the game property.

9 years ago== filebrowser ==
Andrea Weikert [Sat, 8 May 2010 21:02:22 +0000 (21:02 +0000)]
== filebrowser ==
- smooth scrolling to editable button after new directory is created
(for now scrolling starts as soon as the mouse moves back to the file list area, for Matt to check if immediate scrolling is possible)

- fix for autocomplete directory, show first matching part if directory doesn't exist, otherwise won't work for directories starting with the same prefix like textures_walls and textures_grass for example.

9 years ago== MSVC projectfiles ==
Andrea Weikert [Sat, 8 May 2010 20:57:09 +0000 (20:57 +0000)]
== MSVC projectfiles ==
- update for latest ImBuf changes

9 years agorender time wasnt being written to the metadata of images.
Campbell Barton [Sat, 8 May 2010 20:07:29 +0000 (20:07 +0000)]
render time wasnt being written to the metadata of images.

9 years agoLogic UI: add notifiers for sensors and controllers (so the ui updates if you change...
Dalai Felinto [Sat, 8 May 2010 19:52:13 +0000 (19:52 +0000)]
Logic UI: add notifiers for sensors and controllers (so the ui updates if you change the value through script) + some layout adjusments.

9 years agoFixing the makefiles compiling
Joilnen Leite [Sat, 8 May 2010 19:48:28 +0000 (19:48 +0000)]
Fixing the makefiles compiling

9 years agoSequencer crashes with clips that have OpenGl render enabled (rev 28658)
Campbell Barton [Sat, 8 May 2010 19:08:33 +0000 (19:08 +0000)]
Sequencer crashes with clips that have OpenGl render enabled (rev 28658)

 disabling for now, opengl write rendering isnt drivial to solve.

9 years agobugfix [#22281] Edit mode face selection dots gone from textured viewport mode
Campbell Barton [Sat, 8 May 2010 17:54:29 +0000 (17:54 +0000)]
bugfix [#22281] Edit mode face selection dots gone from textured viewport mode
tweaked the logic for drawing face dots

9 years agobugfix [#21085] Sequencer file selector for movies is strange
Campbell Barton [Sat, 8 May 2010 16:36:28 +0000 (16:36 +0000)]
bugfix [#21085] Sequencer file selector for movies is strange
elubie fixed the first part, this fixes the internal data updating while keeping the frame range.

9 years agorevert own commit 28662.
Campbell Barton [Sat, 8 May 2010 15:37:29 +0000 (15:37 +0000)]
revert own commit 28662.
 strnlen is a GNU extension according to

9 years agoScons compile fix for SVN 28661.
Thomas Dinges [Sat, 8 May 2010 07:48:37 +0000 (07:48 +0000)]
Scons compile fix for SVN 28661.
* Missing 'blenloader' include.

9 years agoremove BLI_strnlen, use _strnlen as strnlen on windows.
Campbell Barton [Sat, 8 May 2010 07:34:01 +0000 (07:34 +0000)]
remove BLI_strnlen, use _strnlen as strnlen on windows.
cant test on windows but from what I can tell this exists like _vsnprintf

9 years ago- console drop handler for datablocks & filepaths.
Campbell Barton [Sat, 8 May 2010 07:25:26 +0000 (07:25 +0000)]
- console drop handler for datablocks & filepaths.
- added BLO_idcode_to_name_plural() for names like meshes, scenes, libraries etc from and ID type.

9 years agoFix blenderplayer linking issues when building with CMake on unix systems
Damien Plisson [Sat, 8 May 2010 05:56:34 +0000 (05:56 +0000)]
Fix blenderplayer linking issues when building with CMake on unix systems

9 years agoAllow clicking in the empty area of a scrollbar (in the 'groove' outside the scroller...
Matt Ebb [Sat, 8 May 2010 04:32:48 +0000 (04:32 +0000)]
Allow clicking in the empty area of a scrollbar (in the 'groove' outside the scroller itself)
to page up/page down.

9 years agoadjusment to constraint actuator layout (forgot to expose normal and before)
Dalai Felinto [Fri, 7 May 2010 23:56:26 +0000 (23:56 +0000)]
adjusment to constraint actuator layout (forgot to expose normal and before)

9 years agobugfix [#22276] filemanager autocompleate based on current path
Campbell Barton [Fri, 7 May 2010 23:34:03 +0000 (23:34 +0000)]
bugfix [#22276] filemanager autocompleate based on current path
also added autocomp to filename in fileselector

9 years agoSVN maintenance.
Guillermo S. Romero [Fri, 7 May 2010 22:04:48 +0000 (22:04 +0000)]
SVN maintenance.

9 years agoCMake + MSVC building fix (PTHREADS_INC needed in imbuf)
Dalai Felinto [Fri, 7 May 2010 21:35:10 +0000 (21:35 +0000)]
CMake + MSVC building fix (PTHREADS_INC needed in imbuf)
again, I know that the header shouldnt' be included there. But since it's still there at least let's make it build.

9 years agoLogic UI - fixing missing rna default values
Dalai Felinto [Fri, 7 May 2010 18:53:28 +0000 (18:53 +0000)]
Logic UI - fixing missing rna default values
there are some cases (i.e. Constraint Actuator) where the same DNA property is being used by different RNAs with different ranges.
It's easy to change (reset the values to their default in the set func of the constrant type rna).
Not sure it's necessary though.

9 years agoshouldnt have committed this, was local hack to workaround float buffer bug.
Campbell Barton [Fri, 7 May 2010 15:52:16 +0000 (15:52 +0000)]
shouldnt have committed this, was local hack to workaround float buffer bug.

9 years agofix for segfault when reading bad multilayer EXR's
Campbell Barton [Fri, 7 May 2010 15:49:21 +0000 (15:49 +0000)]
fix for segfault when reading bad multilayer EXR's

9 years agoMerge image related changes from the render branch. This includes the image
Brecht Van Lommel [Fri, 7 May 2010 15:18:04 +0000 (15:18 +0000)]
Merge image related changes from the render branch. This includes the image
tile cache code in imbuf, but it is not hooked up to the render engine.

Imbuf module: some small refactoring and removing a lot of unused or old code
(about 6.5k lines).

* Added a ImFileType struct with callbacks to make adding an file format type,
  or making changes to the API easier.
* Move imbuf init/exit code into IMB_init()/IMB_exit() functions.
* Increased mipmap levels from 10 to 20, you run into this limit already with
  a 2k image.
* Removed hamx, amiga, anim5 format support.
* Removed colormap saving, only simple colormap code now for reading tga.
* Removed, editing this is almost as much work as just
  editing the code directly.
* Functions removed that were only used for sequencer plugin API:
  IMB_anim_nextpic, IMB_clever_double, IMB_antialias, IMB_gamwarp,
  IMB_scalefieldImBuf, IMB_scalefastfieldImBuf, IMB_onethird, IMB_halflace,
  IMB_dit0, IMB_dit2, IMB_cspace
* Write metadata info into OpenEXR images. Can be viewed with the command
  line utility 'exrheader'

For the image tile cache code, see this page:

9 years agoMinor formatting tweaks (killing some "caterpillar if's"... yuck those things are...
Joshua Leung [Fri, 7 May 2010 10:59:48 +0000 (10:59 +0000)]
Minor formatting tweaks (killing some "caterpillar if's"... yuck those things are nasty to edit/extend)

9 years agoMultires: fix for "failed to read" error message with external displacements.
Brecht Van Lommel [Fri, 7 May 2010 09:48:40 +0000 (09:48 +0000)]
Multires: fix for "failed to read" error message with external displacements.

9 years agoExr reading error print has a bit more detail now, to debug problems.
Brecht Van Lommel [Fri, 7 May 2010 09:46:54 +0000 (09:46 +0000)]
Exr reading error print has a bit more detail now, to debug problems.

9 years agosaving multires data didnt get the new filename when the external struct was alredy...
Campbell Barton [Fri, 7 May 2010 09:41:26 +0000 (09:41 +0000)]
saving multires data didnt get the new filename when the external struct was alredy allocated (making save external fail)

9 years agoRestrict keyboard sensor stored events to only what's appropriate per property
Matt Ebb [Fri, 7 May 2010 08:10:20 +0000 (08:10 +0000)]
Restrict keyboard sensor stored events to only what's appropriate per property
(normal key, modifier key, etc)

9 years agotoo many args, build error
Campbell Barton [Fri, 7 May 2010 07:57:15 +0000 (07:57 +0000)]
too many args, build error

9 years agoghash alloc string from render branch
Campbell Barton [Fri, 7 May 2010 07:54:25 +0000 (07:54 +0000)]
ghash alloc string from render branch
 svn merge -r28571:28573
 svn merge -r28575:28576

9 years agoLogic UI: All Sensors, Controllers and Actuators are ported now... (let's the tests...
Dalai Felinto [Fri, 7 May 2010 07:31:39 +0000 (07:31 +0000)]
Logic UI: All Sensors, Controllers and Actuators are ported now... (let's the tests begin)

* get/set funcs
* unifying rna_props for Constraint Actuator
* Collision sensor
* Ray sensor
* State Actuator

* We need icons! at least one for Sensor, one for Controller and one for Actuator

* Layout artists:
Keyboard sensor really need some help :)
The other as well. I mainly copied the layout from 2.49 with some adjustments here and there.

* some get/set functions in rna_actuator.c are exactly the same (e.g. rna_ConstraintActuator_range_get, rna_ConstraintActuator_spring_get) and other could be easily distributed. maybe something for later.

9 years agoFix [#22271] N panel Lock icons not changing when pressed
Matt Ebb [Fri, 7 May 2010 04:52:10 +0000 (04:52 +0000)]
Fix [#22271] N panel Lock icons not changing when pressed

9 years agoWarning cleanup
Matt Ebb [Fri, 7 May 2010 03:44:34 +0000 (03:44 +0000)]
Warning cleanup

While I was looking in outliner.c, made some changes to let extra passes display
there such as environment (commented out before due to a previous limitation).

Also changed outliner object visbility/selectability/renderability toggles to use
RNA buttons so you can insert keyframes with RMB menu etc.