blender.git
9 years agoBugfix #22685: Screen update slow, animation player ALT-A, files created with 2.4x
Joshua Leung [Mon, 5 Jul 2010 03:55:28 +0000 (03:55 +0000)]
Bugfix #22685: Screen update slow, animation player ALT-A, files created with 2.4x

Modifiers were being mistakenly recalculated at every frame as long as the object had animation, slowing things down due to incorrect depsgraph recalc tags.

Renamed OB_RECALC -> OB_RECALC_ALL to reduce future confusion. During this process, I noticed a few dubious usages of OB_RECALC, so it's best to use this commit as a guide of places to check on. Apart from the place responsible for this bug, I haven't changed any OB_RECALC -> OB_RECALC_OB/DATA in case that introduces more unforseen bugs now, making it more difficult to track the problems later (rename + value change can be confusing to identify the genuine typos).

9 years ago#22736: request - adjust windows' corner handles
Joshua Leung [Mon, 5 Jul 2010 03:02:57 +0000 (03:02 +0000)]
#22736: request - adjust windows' corner handles

I've tweaked the contrast of the corner widgets to be a little bit more contrasty and seem a bit more tactile by making the lines fade out from brighter bands to dimmer bands.

Hopefully this will make them more easily discernable without being too loud.

9 years agoBugfix #22584: Long Keyframes not working
Joshua Leung [Mon, 5 Jul 2010 02:00:24 +0000 (02:00 +0000)]
Bugfix #22584: Long Keyframes not working

This was broken by a bad (unfinished/unused) case, which stopped them from being created properly in most cases.

9 years agoBugfix #19221: Layer animation not working
Joshua Leung [Mon, 5 Jul 2010 01:11:25 +0000 (01:11 +0000)]
Bugfix #19221: Layer animation not working

Now object layers and scene-base layers are now always synced. In 2.4x, they were only synced if there was animation for layers, but it's probably not worth checking for this these days...

Finally we can close this bug report :)

9 years agoCompile fix for r29954. He probably missed a file in the commit.
Joshua Leung [Mon, 5 Jul 2010 00:48:57 +0000 (00:48 +0000)]
Compile fix for r29954. He probably missed a file in the commit.

9 years agobugfix [#22724] "Scene" switch on the console doesn't work
Campbell Barton [Mon, 5 Jul 2010 00:00:40 +0000 (00:00 +0000)]
bugfix [#22724] "Scene" switch on the console doesn't work

9 years agobetter errors for failier to read blends
Campbell Barton [Sun, 4 Jul 2010 23:26:55 +0000 (23:26 +0000)]
better errors for failier to read blends

9 years agofix for building with cmake
Campbell Barton [Sun, 4 Jul 2010 22:43:51 +0000 (22:43 +0000)]
fix for building with cmake

9 years agofix for building
Campbell Barton [Sun, 4 Jul 2010 22:35:09 +0000 (22:35 +0000)]
fix for building

9 years agoAdd missing ";".
Guillermo S. Romero [Sun, 4 Jul 2010 21:36:48 +0000 (21:36 +0000)]
Add missing ";".

9 years agoSVN maintenance.
Guillermo S. Romero [Sun, 4 Jul 2010 21:33:01 +0000 (21:33 +0000)]
SVN maintenance.

9 years agoPatch [#22339] File/installation paths changes
Andrea Weikert [Sun, 4 Jul 2010 21:14:59 +0000 (21:14 +0000)]
Patch [#22339] File/installation paths changes

Update after discussions on IRC:
* operating system specific path retrieval is moved back to GHOST, nothing blender specific here though
* cleaned up path functions a bit to remove #ifdefs
* removed Cocoa from blenlib again

TODO:
* Matt, Damien, please check and correct the functions for Cocoa and Carbon, could only put back existing code but needs adjustment
* finish GHOST_getBinaryDir - this should replace the BLI_where_am_i eventually as well as BLI_getInstallationPath on Windows and get_install_dir for the blenderplayer runtime
* It would probably be nice to define GHOST_getTempDir as well and move those out
* more cleanups...

NOTE:
Things are likely broken for macs

9 years agoImprovements to Blenders color balance (lift/gamma/gain).
Campbell Barton [Sun, 4 Jul 2010 20:59:10 +0000 (20:59 +0000)]
Improvements to Blenders color balance (lift/gamma/gain).
Fairly closely match some mac application colin has called 'Looks', to give better results.
- lift is now applied non linear (was being added to the color)
- change the color wheel to preserve the luminance of the gamma and gain values, this stops the color from being set too dark (option for the color wheel template).
- sub-pixel precission for the color wheel since the white area at the center can make a lot of difference with a very small change.

This change will make existing node and sequencer setups lift render slighly differently however discussed this with Ton and he's ok with it.

9 years agoFix #21062 and #22175: crash with node previews being calculated while
Brecht Van Lommel [Sun, 4 Jul 2010 19:58:52 +0000 (19:58 +0000)]
Fix #21062 and #22175: crash with node previews being calculated while
editing nodes. Now preview jobs are killed before making any node edits.

9 years agoDetect SSE building support with cmake, and moved setting the defines
Brecht Van Lommel [Sun, 4 Jul 2010 18:40:59 +0000 (18:40 +0000)]
Detect SSE building support with cmake, and moved setting the defines
out of the render mode cmake file into the main one. Should fix PPC
compile, and hopefully not break others.

9 years agoFix #22432: unrenderable objects cast shadow in GLSL. Committing
Brecht Van Lommel [Sun, 4 Jul 2010 17:22:24 +0000 (17:22 +0000)]
Fix #22432: unrenderable objects cast shadow in GLSL. Committing
patch by Matt, I only reviewed it.

9 years agofix for 2 bugs in own recent commits,
Campbell Barton [Sun, 4 Jul 2010 17:14:06 +0000 (17:14 +0000)]
fix for 2 bugs in own recent commits,
- 29881 broke BLI_stringdec in some cases.
- poll function for view home crashed view menu because the rv3d isnt available (still needs fixing).

9 years agofairly sure this is a typo, matt/elubie please check
Campbell Barton [Sun, 4 Jul 2010 16:47:58 +0000 (16:47 +0000)]
fairly sure this is a typo, matt/elubie please check

9 years agoSVN maintenance.
Guillermo S. Romero [Sun, 4 Jul 2010 16:47:35 +0000 (16:47 +0000)]
SVN maintenance.

9 years agoFix for paths commit from Andrea:
Ton Roosendaal [Sun, 4 Jul 2010 16:34:24 +0000 (16:34 +0000)]
Fix for paths commit from Andrea:

For Mac, there was no code supporting Carbon. Added a stubs function
to make it compile, but it doesn't work yet properly.

9 years agoFix cmake/OSX build after path changes.
Brecht Van Lommel [Sun, 4 Jul 2010 16:20:42 +0000 (16:20 +0000)]
Fix cmake/OSX build after path changes.

9 years agoremove unused var warnings in linux
Campbell Barton [Sun, 4 Jul 2010 15:52:32 +0000 (15:52 +0000)]
remove unused var warnings in linux

9 years agoPatch [#22339] File/installation paths changes
Andrea Weikert [Sun, 4 Jul 2010 15:35:23 +0000 (15:35 +0000)]
Patch [#22339] File/installation paths changes

Patch Tracker: http://projects.blender.org/tracker/?func=detail&aid=22339&group_id=9&atid=127

This patch implements the proposal outlined here:
http://wiki.blender.org/index.php/Dev:2.5/Source/Installation/Proposal

Original patch by Matt Ebb.
Contributions by Nathan Letwory, Damien Plisson and Andrea Weikert

NOTE:
This is a work in progress commit, some work still needs to be done on the SCons and CMake files for this to work properly, but at least should compile and the files should be created in the right directory.

Commit discussed on IRC with Ton and Campbell.

9 years agoFix #22028: rendering from 3d view was OR-ing with scene render layers,
Brecht Van Lommel [Sun, 4 Jul 2010 12:26:46 +0000 (12:26 +0000)]
Fix #22028: rendering from 3d view was OR-ing with scene render layers,
this isn't helpful, so just use 3d view layers.

9 years agoFix #21894: backface selection wasn't working correct with < 24 bits colors,
Brecht Van Lommel [Sun, 4 Jul 2010 12:24:19 +0000 (12:24 +0000)]
Fix #21894: backface selection wasn't working correct with < 24 bits colors,
e.g. thousands of colors on OS X, due to use of uninitialized value. Problem
tracked down and patch provided by Shane Ambler, thanks!

9 years agoFix for 15-day-old bug causing crashes when loading old 2.49 files, especially those...
Joshua Leung [Sun, 4 Jul 2010 12:16:01 +0000 (12:16 +0000)]
Fix for 15-day-old bug causing crashes when loading old 2.49 files, especially those with animation.

Reverting 29563 ("* Moved do_versions_ipos_to_animato from blender.c to readfile.c, where it should be.") part to the original version that (so far) is guaranteed to work fine.

While this means that "nice software design" isn't obeyed once again, this works and the other approach doesn't. So far there really isn't anything really obviously different between the approaches, even after trying a few different placements of the version patches within the file-reading internals.

9 years agocommenting group timeoffset since it causes groups objects to recalculate modifiers...
Campbell Barton [Sun, 4 Jul 2010 11:56:31 +0000 (11:56 +0000)]
commenting group timeoffset since it causes groups objects to recalculate modifiers etc. constantly even when animation isnt playing.

9 years agolast fix still could give corrupt sound, rather then updating the sound info just...
Campbell Barton [Sun, 4 Jul 2010 10:51:10 +0000 (10:51 +0000)]
last fix still could give corrupt sound, rather then updating the sound info just add and remove the sound handle.

9 years agoswap strip data wasnt updating sounds
Campbell Barton [Sun, 4 Jul 2010 10:22:31 +0000 (10:22 +0000)]
swap strip data wasnt updating sounds

9 years agoconvenience functionality for browse button (requested by Colin for the sequence...
Campbell Barton [Sun, 4 Jul 2010 10:02:30 +0000 (10:02 +0000)]
convenience functionality for browse button (requested by Colin for the sequence editor, useful for managing files for the final edit)
- Holding Alt while clocking on the browse button opens a file browser with the containing dir.
- Holding Shift opens the file its self in the default application.

obscure but at least theres a tooltip so its not totally hidden.

9 years agoFix for [#22714] Constraints stack : move up and move down buttons problem
Thomas Dinges [Sun, 4 Jul 2010 09:42:00 +0000 (09:42 +0000)]
Fix for [#22714] Constraints stack : move up and move down buttons problem
* Constraint template now uses 2 rows as well, when the area width is small.
* UI Code could use some code/layout cleanup still, will look into that soon.

9 years ago'Copy To Selected' (right click menu item) now works for sequence strips, useful...
Campbell Barton [Sun, 4 Jul 2010 09:13:00 +0000 (09:13 +0000)]
'Copy To Selected' (right click menu item) now works for sequence strips, useful for copying blend modes & opacity

9 years agosequencer
Campbell Barton [Sun, 4 Jul 2010 08:49:54 +0000 (08:49 +0000)]
sequencer
- effects strips now add directly above the strips they operate on (almost always what you want)
- blend mode for new image/movie/scene/color strips is now cross: without this adjusting alpha will fade to black rather then the strip below.
- SEQ_HAS_PATH macro didnt include sound-ram or sound-hd
- meta drawing code has misleading variable names (from own commit).

9 years ago- draw sequence strips within metastrips using their real start/end and channel posit...
Campbell Barton [Sun, 4 Jul 2010 01:56:04 +0000 (01:56 +0000)]
- draw sequence strips within metastrips using their real start/end and channel positions.
- dont show color balance unless its enabled.

9 years agosequencer re-assign inputs back
Campbell Barton [Sat, 3 Jul 2010 22:25:22 +0000 (22:25 +0000)]
sequencer re-assign inputs back

9 years ago== Sequencer ==
Peter Schlaile [Sat, 3 Jul 2010 21:13:08 +0000 (21:13 +0000)]
== Sequencer ==

This fixes:
[#22722] Removing a sequence strip doesnt remove assosiated fcurves

by using the same hack that is used for moving curve-data along with the
strips on grab.

Should be cleaned up (both functions!) by making sequencer-strips
finally true IDs.

Until that happens, there is only an more or less ugly way of doing
that.

9 years agohome key to center the camera offset.
Campbell Barton [Sat, 3 Jul 2010 20:47:03 +0000 (20:47 +0000)]
home key to center the camera offset.

9 years agodisable ref-counting for groups. groups work differently where they are only removed...
Campbell Barton [Sat, 3 Jul 2010 19:06:49 +0000 (19:06 +0000)]
disable ref-counting for groups. groups work differently where they are only removed on load if they include no objects.
this was causing groups to be removed by rna if a group's field was cleared and the file was saved (even when it was used elsewhere).

9 years agobetter reporting for file i/o failier, use system error message in more places: Permi...
Campbell Barton [Sat, 3 Jul 2010 17:47:06 +0000 (17:47 +0000)]
better reporting for file i/o failier, use system error message in more places: Permission Denied, No space left, File not found etc.
- blend load/save uses os message.
- image load gives os message. (remove check for slash at end of line, just let the os report an error)
- python api load image/font/text raise errors with message (was just retuning None for image and font)
- minor edits to py api errors.

9 years agorna api:
Campbell Barton [Sat, 3 Jul 2010 17:39:29 +0000 (17:39 +0000)]
rna api:
rename object.matrix --> matrix_world
added object.matrix_local (parent relative matrix)

9 years agoFix for layer restoring with duplis, could be wrong sometimes
Brecht Van Lommel [Sat, 3 Jul 2010 17:19:44 +0000 (17:19 +0000)]
Fix for layer restoring with duplis, could be wrong sometimes
when there with multiple instances and recursion.

9 years agocmake: disable openexr if its not found (rather then throwing an error)
Campbell Barton [Sat, 3 Jul 2010 15:03:13 +0000 (15:03 +0000)]
cmake: disable openexr if its not found (rather then throwing an error)

9 years agoWM_operator_props_popup was calling ED_undo_push_op() which is also called by wm_oper...
Campbell Barton [Sat, 3 Jul 2010 12:55:03 +0000 (12:55 +0000)]
WM_operator_props_popup was calling ED_undo_push_op() which is also called by wm_operator_finished.
This made new image operator and seperate image sequence call ED_undo_push_op() twice.
Tested with move to layer and python select pattern operators and it works ok.

including backtraces for the double calls just incase.

# first
#2  0x00000000009ff4c4 in ED_undo_push_op (C=0x20e1098, op=0x3ea13a8) at /media/data/blender_ideasman42/blender_trunk/source/blender/editors/util/undo.c:187
#3  0x00000000008b5fa1 in WM_operator_props_popup (C=0x20e1098, op=0x3ea13a8, event=0x3ea0d28) at /media/data/blender_ideasman42/blender_trunk/source/blender/windowmanager/intern/wm_operators.c:1032
#4  0x00000000008be6be in wm_operator_invoke (C=0x20e1098, ot=0x2408bd8, event=0x3ea0d28, properties=0x3e943d8, reports=0x0) at /media/data/blender_ideasman42/blender_trunk/source/blender/windowmanager/intern/wm_event_system.c:613
#5  0x00000000008bfa44 in wm_handler_operator_call (C=0x20e1098, handlers=0x25509a0, handler=0x25cb658, event=0x3ea0d28, properties=0x3e943d8) at /media/data/blender_ideasman42/blender_trunk/source/blender/windowmanager/intern/wm_event_system.c:1158

# second
#2  0x00000000009ff4c4 in ED_undo_push_op (C=0x20e1098, op=0x3ea13a8) at /media/data/blender_ideasman42/blender_trunk/source/blender/editors/util/undo.c:187
#3  0x00000000008bde8e in wm_operator_finished (C=0x20e1098, op=0x3ea13a8, repeat=0) at /media/data/blender_ideasman42/blender_trunk/source/blender/windowmanager/intern/wm_event_system.c:439
#4  0x00000000008be82a in wm_operator_invoke (C=0x20e1098, ot=0x2408bd8, event=0x3ea0d28, properties=0x3e943d8, reports=0x0) at /media/data/blender_ideasman42/blender_trunk/source/blender/windowmanager/intern/wm_event_system.c:640
#5  0x00000000008bfa44 in wm_handler_operator_call (C=0x20e1098, handlers=0x25509a0, handler=0x25cb658, event=0x3ea0d28, properties=0x3e943d8) at /media/data/blender_ideasman42/blender_trunk/source/blender/windowmanager/intern/wm_event_system.c:1158

9 years agoOSX scons : disable build with lcms by default until scons scripts are updated to...
Damien Plisson [Sat, 3 Jul 2010 12:11:05 +0000 (12:11 +0000)]
OSX scons : disable build with lcms by default until scons scripts are updated to take into account lcms include and lib paths different from /usr

I've released this scons scripts update as patch #22723, for it to be checked for no adverse effects on other platforms.

9 years agoOSX: CMake and scons default settings updated to allow build with LCMS lib
Damien Plisson [Sat, 3 Jul 2010 10:01:41 +0000 (10:01 +0000)]
OSX: CMake and scons default settings updated to allow build with LCMS lib

9 years agorender override was still showing game physics bounds
Campbell Barton [Fri, 2 Jul 2010 20:46:29 +0000 (20:46 +0000)]
render override was still showing game physics bounds

9 years ago- changes to the sequencer so new strips use the data name.
Campbell Barton [Fri, 2 Jul 2010 20:09:42 +0000 (20:09 +0000)]
- changes to the sequencer so new strips use the data name.
- removed the name option for the sequence operators.

9 years agochanges to file selector so 'directory' property from an operator is used when available.
Campbell Barton [Fri, 2 Jul 2010 17:44:57 +0000 (17:44 +0000)]
changes to file selector so 'directory' property from an operator is used when available.
also made some other changes to the path functions used.

9 years agoFix #22690: gestures were not working correct after inbetween mousemove
Brecht Van Lommel [Fri, 2 Jul 2010 11:26:12 +0000 (11:26 +0000)]
Fix #22690: gestures were not working correct after inbetween mousemove
changes, also forgot to update armature sketching operator.

9 years agorevert previous auto-naming change for meta elements,
Matt Ebb [Fri, 2 Jul 2010 03:11:10 +0000 (03:11 +0000)]
revert previous auto-naming change for meta elements,
broke the name-based grouping.

9 years agoFix new zoom in/out values for nodes in old files.
Diego Borghetti [Thu, 1 Jul 2010 19:29:27 +0000 (19:29 +0000)]
Fix new zoom in/out values for nodes in old files.

The problem was a missing update to the ARegion and the
first space, that is why old file don't get the
new zoom in/out values.

9 years agoadding image strips wasnt working, use the 'directory' component of the file selector...
Campbell Barton [Thu, 1 Jul 2010 19:28:45 +0000 (19:28 +0000)]
adding image strips wasnt working, use the 'directory' component of the file selector rather then the full 'filepath' to fix this.
added flags for filename/filepath/directory args to WM_operator_properties_filesel().

9 years agoFix for crash with PBVH in background mode, patch by Campbell.
Brecht Van Lommel [Thu, 1 Jul 2010 15:12:10 +0000 (15:12 +0000)]
Fix for crash with PBVH in background mode, patch by Campbell.

9 years agoadding a new sequence strip uses the active strips path when available.
Campbell Barton [Thu, 1 Jul 2010 14:08:41 +0000 (14:08 +0000)]
adding a new sequence strip uses the active strips path when available.

9 years agoenable external pointcache for smoke in the UI.
Campbell Barton [Thu, 1 Jul 2010 13:25:49 +0000 (13:25 +0000)]
enable external pointcache for smoke in the UI.

9 years agofix for building with WITH_RAYOPTIMIZATION
Campbell Barton [Thu, 1 Jul 2010 13:21:40 +0000 (13:21 +0000)]
fix for building with WITH_RAYOPTIMIZATION

9 years agofix for use of uninitialized memory with opengl render.
Campbell Barton [Thu, 1 Jul 2010 11:58:48 +0000 (11:58 +0000)]
fix for use of uninitialized memory with opengl render.

9 years ago== rna cleanup ==
Luca Bonavita [Thu, 1 Jul 2010 10:52:15 +0000 (10:52 +0000)]
== rna cleanup ==

- fixed a bug: it wasn't updating checks when importing from py file
- removed the global input_filename, I didn't like it very much

9 years ago* Made sculpt drawing respect the "use VBO" preference.
Nicholas Bishop [Wed, 30 Jun 2010 19:35:08 +0000 (19:35 +0000)]
* Made sculpt drawing respect the "use VBO" preference.
* Hopefully this fixes some sculpt problems for people with broken drivers

9 years agoOpenMP multithreading for the defocus node. Reason: defocus can take 16x
Brecht Van Lommel [Wed, 30 Jun 2010 15:15:31 +0000 (15:15 +0000)]
OpenMP multithreading for the defocus node. Reason: defocus can take 16x
longer on a 4k render than on a 2k render (due to O(n^2) scaling).

9 years agoBugfix: effector weights were not copied when copying particle settings.
Brecht Van Lommel [Wed, 30 Jun 2010 14:43:28 +0000 (14:43 +0000)]
Bugfix: effector weights were not copied when copying particle settings.

9 years agobugfix [#22702] Camera lense animation not updating
Campbell Barton [Wed, 30 Jun 2010 09:53:40 +0000 (09:53 +0000)]
bugfix [#22702] Camera lense animation not updating

9 years agoFinish fixing [#22653] Dimensions not update on curve
Matt Ebb [Wed, 30 Jun 2010 05:03:41 +0000 (05:03 +0000)]
Finish fixing [#22653] Dimensions not update on curve

9 years agoFix [#22643] Renderging Crash. 2.5
Matt Ebb [Wed, 30 Jun 2010 04:09:58 +0000 (04:09 +0000)]
Fix [#22643] Renderging Crash. 2.5

9 years ago[#22699] "--" fails to stop processing cmd line arguments (incl. patch)
Martin Poirier [Wed, 30 Jun 2010 03:19:28 +0000 (03:19 +0000)]
[#22699] "--" fails to stop processing cmd line arguments (incl. patch)

Thanks Matt

9 years agoFix for [#22667] Soft Body Aero on/off switch
Matt Ebb [Wed, 30 Jun 2010 02:34:34 +0000 (02:34 +0000)]
Fix for [#22667] Soft Body Aero on/off switch

Under guidance from Jens, converted the 'aero' property into a two-way switch,
which is what it actually represents.

9 years agoui glitch fix [#22667]
Jens Ole Wund [Tue, 29 Jun 2010 22:30:55 +0000 (22:30 +0000)]
ui glitch fix [#22667]

9 years agoadd alpha option for new images (operator and function)
Campbell Barton [Tue, 29 Jun 2010 22:07:27 +0000 (22:07 +0000)]
add alpha option for new images (operator and function)

9 years agomove edits from rna_api_cleanup.txt into rna_booleans.txt which can be parsed.
Campbell Barton [Tue, 29 Jun 2010 21:23:28 +0000 (21:23 +0000)]
move edits from rna_api_cleanup.txt into rna_booleans.txt which can be parsed.

9 years ago== rna cleanup ==
Luca Bonavita [Tue, 29 Jun 2010 17:23:48 +0000 (17:23 +0000)]
== rna cleanup ==

Re-introducing the modification made by Cambpell yesterday [rev., I copied the file over and forgot to restore this.
Sorry for the noise :)

9 years agoFixed bug #22686, Screw modifier VBO-related crash
Nicholas Bishop [Tue, 29 Jun 2010 15:56:05 +0000 (15:56 +0000)]
Fixed bug #22686, Screw modifier VBO-related crash

* Problem was calling setDrawOptions even if there was no original face index to use

9 years agoimage re-projection wasnt changing alpha values.
Campbell Barton [Tue, 29 Jun 2010 13:20:11 +0000 (13:20 +0000)]
image re-projection wasnt changing alpha values.

9 years agoFix [#22355] Spin Tool crashes Blender on Click'n'Drag Steps
Matt Ebb [Tue, 29 Jun 2010 12:33:25 +0000 (12:33 +0000)]
Fix [#22355] Spin Tool crashes Blender on Click'n'Drag Steps

Spin tool steps property had no softmin/softmax (set to INT_MAX), and without continuous grab on, the number field dragging code would jump up to ridiculously high numbers.

Added a reasonable soft max for spin, and also added some protection to the button dragging code to prevent the drag increments from getting too high.

Probably need to doublecheck other op property softmaxes as well.

9 years ago== rna cleanup ==
Luca Bonavita [Tue, 29 Jun 2010 12:13:29 +0000 (12:13 +0000)]
== rna cleanup ==

- rna_api.py now doesn't have work parameters anymore (note, changes, keyword-check)
- header implementation fixed
- removed 3 unuseful/already commented lines
- renamed a function

9 years agoAdded name to object color in object properties. Kinda misleading
Daniel Salazar [Tue, 29 Jun 2010 05:02:51 +0000 (05:02 +0000)]
Added name to object color in object properties. Kinda misleading
without it

9 years agofix for crash when loading files that had the animtimer set.
Campbell Barton [Mon, 28 Jun 2010 18:40:17 +0000 (18:40 +0000)]
fix for crash when loading files that had the animtimer set.

9 years agoupdate from discussion with brecht.
Campbell Barton [Mon, 28 Jun 2010 16:52:57 +0000 (16:52 +0000)]
update from discussion with brecht.

9 years agodefault to global space for point density cache space.
Campbell Barton [Mon, 28 Jun 2010 16:37:50 +0000 (16:37 +0000)]
default to global space for point density cache space.

9 years agoflip button for color ramps (durian request), these should be done as operators in...
Campbell Barton [Mon, 28 Jun 2010 16:07:21 +0000 (16:07 +0000)]
flip button for color ramps (durian request), these should be done as operators in a menu with copy/paste. added own todo.

9 years ago== rna cleanup script ==
Luca Bonavita [Mon, 28 Jun 2010 15:29:18 +0000 (15:29 +0000)]
== rna cleanup script ==

- new folder rna_cleanup/
- moved na_api_cleanup.txt in rna_cleanup/
- rna_cleaner.py is a script to help cleaning rna names, pasting the help below for those interested

Basically after you run this on a original file, the script produces 2 file .txt and .py that you can edit.
You can skip to edit things liek "changed" or "same" or check if the "to" field is correct or not.
When you re-run this script it will check these thigns and will produce a consistent output file again.

Also, you can sort lines at will.

$ ./rna_cleaner.py -h

HELP:
Run this script to re-format the edits you make in the input file.
Do quick modification to important fields like 'to' and don't care about fields like 'changed' or 'description' and save.
The script outputs 3 files:
   1) *_clean.txt: is formatted same as the .txt input, can be edited by user.
   2) *_clean.py: is formatted same as the .py input, can be edited by user.
   3) rna_api.py is not formatted for readability and go under complete check. Can be used for rna cleanup.

USAGE:
./rna_cleaner.py input-file (.txt|.py) order-priority (note|changed|class|from|to|kw).
./rna_cleaner.py -h for help

9 years agorna renaming: showonly/useonly to show_only/use_only
Brecht Van Lommel [Mon, 28 Jun 2010 12:42:42 +0000 (12:42 +0000)]
rna renaming: showonly/useonly to show_only/use_only

9 years agorna renaming: some simple consistency tweaks
Brecht Van Lommel [Mon, 28 Jun 2010 12:41:16 +0000 (12:41 +0000)]
rna renaming: some simple consistency tweaks

9 years agorna suggested names:
Campbell Barton [Mon, 28 Jun 2010 12:25:28 +0000 (12:25 +0000)]
rna suggested names:
 position -> location
 maximum/minimum -> max/min

9 years agoWIP draft for rna renaming, brecht will go over this next.
Campbell Barton [Mon, 28 Jun 2010 12:10:40 +0000 (12:10 +0000)]
WIP draft for rna renaming, brecht will go over this next.

9 years agoFix #20965: metaballs partticles and volume material crash rendering
Sergey Sharybin [Mon, 28 Jun 2010 11:07:02 +0000 (11:07 +0000)]
Fix #20965: metaballs partticles and volume material crash rendering
Fix #21187: 2.5svn26947 - particles + meta sphere = crash in rendering

Use separated displists for mballs in view3d and render stuff.
Do not recalculate displist for view3d while rendering - mball.c
uses several global variables which shouldn't be accepted from
parallel threads.

9 years agoFix [#22669] Packing a .wav used in a LB crashes Blender
Matt Ebb [Mon, 28 Jun 2010 00:11:28 +0000 (00:11 +0000)]
Fix [#22669] Packing a .wav used in a LB crashes Blender

9 years ago== python api docs ==
Luca Bonavita [Mon, 28 Jun 2010 00:06:23 +0000 (00:06 +0000)]
== python api docs ==

- properties are now listed on alphabetical order
- readonly properties use "data" directive, so that we see them in green in the web docs
  example (after Campbell will rebuild the docs):
  http://www.blender.org/documentation/250PythonDoc/bpy.types.RenderLayer.html
  (note that green attributes still need final CSS-ing, but smerch is a bit busy atm)
- fixed indentation in http://www.blender.org/documentation/250PythonDoc/bpy.data.html

9 years ago[#22682] some missing keymaps
Matt Ebb [Sun, 27 Jun 2010 23:57:58 +0000 (23:57 +0000)]
[#22682] some missing keymaps

Added proportional influence up/down to transform modal keymap.

Also fixed a crash in restoring to previous key map item after edits.

9 years agoPartial fix for [#22666] TWO BUGS of LIGHT
Matt Ebb [Sun, 27 Jun 2010 23:18:04 +0000 (23:18 +0000)]
Partial fix for [#22666] TWO BUGS of LIGHT
fixed: number 1- can't link light data by using control+l "object data"

cleaned up code a bit here too

9 years agonicer alignment for preset UI
Campbell Barton [Sun, 27 Jun 2010 21:35:31 +0000 (21:35 +0000)]
nicer alignment for preset UI

9 years agoremove some warnings
Campbell Barton [Sun, 27 Jun 2010 21:03:39 +0000 (21:03 +0000)]
remove some warnings

9 years agoalign menu text to the left when displayed in a panel.
Campbell Barton [Sun, 27 Jun 2010 19:10:36 +0000 (19:10 +0000)]
align menu text to the left when displayed in a panel.

9 years agouse expanded enum for addons to give faster access (matches theme layout)
Campbell Barton [Sun, 27 Jun 2010 19:04:44 +0000 (19:04 +0000)]
use expanded enum for addons to give faster access (matches theme layout)

9 years agoapi reference docs: include bpy.data in the main page since its used everywhere.
Campbell Barton [Sun, 27 Jun 2010 18:34:27 +0000 (18:34 +0000)]
api reference docs: include bpy.data in the main page since its used everywhere.
since this isnt a module its self its a little odd to do this but toctree cant make arbitrary cross-references.

Also added some usage examples: http://www.blender.org/documentation/250PythonDoc/bpy.data.html

9 years agoRecalculate motherball when metaball is deleting
Sergey Sharybin [Sun, 27 Jun 2010 12:45:09 +0000 (12:45 +0000)]
Recalculate motherball when metaball is deleting

9 years agoFix #22051: crash when scaling parent metaball
Sergey Sharybin [Sun, 27 Jun 2010 08:35:27 +0000 (08:35 +0000)]
Fix #22051: crash when scaling parent metaball

Keep the constant resolution for any motherball's scale

9 years agoFix [#22564] Object name by object type
Matt Ebb [Sun, 27 Jun 2010 07:45:57 +0000 (07:45 +0000)]
Fix [#22564] Object name by object type

Restored auto-naming newly created objects by type, for Mesh, Lamp, Meta

9 years agoFix [#22675] Dupli tool
Matt Ebb [Sun, 27 Jun 2010 06:15:36 +0000 (06:15 +0000)]
Fix [#22675] Dupli tool
Tweaked operator poll functions

9 years agoPartial cleanup of timing system, with some guidance from Joshua:
Matt Ebb [Sun, 27 Jun 2010 05:39:55 +0000 (05:39 +0000)]
Partial cleanup of timing system, with some guidance from Joshua:

* Fractional frames support has been changed to use a new var, scene->r.subframe.
This is a 0.0-1.0 float representing a subframe interval, used in generating a final float
frame number to evaluate animation system etc.
* Changed frame_to_float() and some instances of bsystem_time() into a convenience function:
float BKE_curframe(scene) which retrieves the floating point current frame, after subframe
and frame length corrections.
* Removed blur_offs and field_offs globals. These are now stored in render, used to
generate a scene->r.subframe before render database processing.

9 years agoscript to create a man page from blenders --help text, replaced the hand edited man...
Campbell Barton [Sun, 27 Jun 2010 00:33:12 +0000 (00:33 +0000)]
script to create a man page from blenders --help text, replaced the hand edited man page with this.