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

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

10 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

10 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

10 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).

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

10 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

10 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

10 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

10 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

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

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

10 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)

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

10 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 :)

10 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

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

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

10 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

10 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

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

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

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

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

10 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

10 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

10 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

10 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

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

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

10 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

10 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

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

10 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

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

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

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

10 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)

10 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

10 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

10 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

10 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

10 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

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

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

10 years agoremove filename and directory from python operators that dont need them
Campbell Barton [Sat, 26 Jun 2010 22:32:47 +0000 (22:32 +0000)]
remove filename and directory from python operators that dont need them

10 years agomore generic sorting of theme items by type (was adding all non color items last)
Campbell Barton [Sat, 26 Jun 2010 22:23:54 +0000 (22:23 +0000)]
more generic sorting of theme items by type (was adding all non color items last)

10 years agoSet button emboss to false a few more places where it makes sense, such as disclosure...
William Reynish [Sat, 26 Jun 2010 21:40:11 +0000 (21:40 +0000)]
Set button emboss to false a few more places where it makes sense, such as disclosure triangles and panel closing X icons.

10 years ago- changed recent commit from William to have enum in user preferences as an expanded...
Campbell Barton [Sat, 26 Jun 2010 20:00:45 +0000 (20:00 +0000)]
- changed recent commit from William to have enum in user preferences as an expanded enum (like it was before)
- rename 'no_bg' argument to 'emboss' (and negated)
- added 'emboss' option for operator buttons.
- Addon UI Layout slight modifications, changed enable/disable buttons for checkbox, grey out text of disabled addons to make it obvious at a glance whats enabled.
- column expanded enums now align text to the left.
- renamed ui_item_enum_row to ui_item_enum_expand since its used for columns and rows.

10 years agonew notifier for FRAME_RANGE, use to recalculate the timeline scrollbar range.
Campbell Barton [Sat, 26 Jun 2010 19:17:48 +0000 (19:17 +0000)]
new notifier for FRAME_RANGE, use to recalculate the timeline scrollbar range.

10 years agoPatch by Oenvoyage: Lamp specials menu was context insensitive,
Daniel Salazar [Sat, 26 Jun 2010 19:00:44 +0000 (19:00 +0000)]
Patch by Oenvoyage: Lamp specials menu was context insensitive,
displaying lamp properties regardless of type hence causing errors. Now
active object controls what properties to display. Still it's possible to
manage multiple mixed lamps types at once. Also added useful items for
cameras and empties

10 years agoobject color property in the object UI panel
Campbell Barton [Sat, 26 Jun 2010 17:46:14 +0000 (17:46 +0000)]
object color property in the object UI panel

10 years agominor changes to Williams commit to be a bit less verbose.
Campbell Barton [Sat, 26 Jun 2010 17:24:01 +0000 (17:24 +0000)]
minor changes to Williams commit to be a bit less verbose.

10 years agoalpha drawing for color picker, move alpha button into the picker.
Campbell Barton [Sat, 26 Jun 2010 17:12:55 +0000 (17:12 +0000)]
alpha drawing for color picker, move alpha button into the picker.

10 years agoUpdated Themes user preference pane.
William Reynish [Sat, 26 Jun 2010 17:06:55 +0000 (17:06 +0000)]
Updated Themes user preference pane.

Layout is now simpler, more easy to scan. This commit also simplifies the Python code and gets rid of hundreds of wasted lines of code, making it much easier to make layout changes.

10 years agofix for crash running the file load operator in background mode:
Campbell Barton [Sat, 26 Jun 2010 13:24:52 +0000 (13:24 +0000)]
fix for crash running the file load operator in background mode:
 bpy.ops.wm.open_mainfile(filepath="some.blend")

10 years agofile operator cleanup
Andrea Weikert [Sat, 26 Jun 2010 08:53:29 +0000 (08:53 +0000)]
file operator cleanup
* the default properties of the file operator now only contain the "filepath", which means only the complete path to a file is returned.
* "filename" and "directory" has been added to the link/append operator - the only place it was used.
* sequence operators still work on the "files", which was custom property passed to the file operator anyway.
* have tested sequence loading, image loading and append/link - please report if there are any issues

10 years agoremove math and m module names from python driver namespace. (all math functions...
Campbell Barton [Fri, 25 Jun 2010 21:24:59 +0000 (21:24 +0000)]
remove math and m module names from python driver namespace. (all math functions are merged into the local namespace)

10 years agobugfix where animated image texture's lagged one frame when used with modifiers.
Campbell Barton [Fri, 25 Jun 2010 12:28:35 +0000 (12:28 +0000)]
bugfix where animated image texture's lagged one frame when used with modifiers.
call animated texture update before evaluating modifiers.

10 years agoerror in fix for ID property copy
Campbell Barton [Fri, 25 Jun 2010 12:17:35 +0000 (12:17 +0000)]
error in fix for ID property copy

10 years agoerror in last commit
Campbell Barton [Fri, 25 Jun 2010 12:13:29 +0000 (12:13 +0000)]
error in last commit

10 years ago- duplicating a scene now duplicates its sequence strips too.
Campbell Barton [Fri, 25 Jun 2010 12:04:04 +0000 (12:04 +0000)]
- duplicating a scene now duplicates its sequence strips too.
- bugfix for copying a scene with FFMPEG properties set (wasnt copying the ID properties, could crash blender)
- relative path option for adding sequence strips and replaceing images.

10 years agoextend command line argument for rendering the current frame
Campbell Barton [Fri, 25 Jun 2010 11:56:12 +0000 (11:56 +0000)]
extend command line argument for rendering the current frame
 blender --background some.blend --render-frame 1 # renders frame 1
 blender --background some.blend --render-frame +0 # renders the first frame
 blender --background some.blend --render-frame -1 # renders the last frame

10 years agoopengl render wasnt updating animated images textures
Campbell Barton [Fri, 25 Jun 2010 11:53:52 +0000 (11:53 +0000)]
opengl render wasnt updating animated images textures

10 years agoFix #22618: Deleting an object doesnt remove its self from pinned buttons
Sergey Sharybin [Fri, 25 Jun 2010 11:41:39 +0000 (11:41 +0000)]
Fix #22618: Deleting an object doesnt remove its self from pinned buttons

Clear pin flag and pin ID in unlink_object if pinid points to unlinking object

10 years agobpy.props.StringProperty()'s maxlen arg was off by 1 since it included the null termi...
Campbell Barton [Thu, 24 Jun 2010 21:28:33 +0000 (21:28 +0000)]
bpy.props.StringProperty()'s maxlen arg was off by 1 since it included the null terminator for C strings.

10 years agoDisable rayoptimization again on MinGW, it crashes.
Brecht Van Lommel [Thu, 24 Jun 2010 18:12:59 +0000 (18:12 +0000)]
Disable rayoptimization again on MinGW, it crashes.

10 years agoAttempt to fix compiling SSE detection on 32 bit linux.
Brecht Van Lommel [Thu, 24 Jun 2010 18:05:51 +0000 (18:05 +0000)]
Attempt to fix compiling SSE detection on 32 bit linux.

10 years agoRuntime detection of SSE support for raytracing. Also enabled rayoptimization
Brecht Van Lommel [Thu, 24 Jun 2010 15:54:01 +0000 (15:54 +0000)]
Runtime detection of SSE support for raytracing. Also enabled rayoptimization
by default now on all platforms since it shouldn't crash anymore if SSE is
not there. If this breaks compilation on some platforms, please let me know.

10 years agoMove some sequencer functions about, no functional changes.
Campbell Barton [Thu, 24 Jun 2010 10:04:18 +0000 (10:04 +0000)]
Move some sequencer functions about, no functional changes.
- Remove SEQ_DESEL, better not have a flag which includes ~, use ~SEQ_ALLSEL instead.
- Rename recurs_dupli_seq -> seqbase_dupli_recursive
- Rename deep_dupli_seq -> seq_dupli_recursive

10 years agoLogic UI: small fixes
Dalai Felinto [Thu, 24 Jun 2010 04:52:28 +0000 (04:52 +0000)]
Logic UI: small fixes
1) "Actuators" menu wasn't working (it was showing the sensors one)
2) s/c/a top menus (the one showing options to hide/show objects and logics) with a big space.
- To have those options like this sounds a bit like a legacy, but for the time being at least, let's make it better :)
3) not show the s/c/a common header when object not visible

10 years agoFix #22553: dragging number buttons would run update functions more often than
Brecht Van Lommel [Wed, 23 Jun 2010 18:47:56 +0000 (18:47 +0000)]
Fix #22553: dragging number buttons would run update functions more often than
necessary due to the more accurate mouse move events that are useful for
sculpting and painting (at least on Linux/X11, not sure about other platforms).
If the update function takes a while to run, this in turn causes more mouse
move events to be accumulated, making things even slower, .. going into a spiral
of slower and slower redraws.

As a solution I've added a INBETWEEN_MOUSEMOVE event next to MOUSEMOVE. A
MOUSEMOVE event is automatically changed to INBETWEEN_MOUSEMOVE when a
MOUSEMOVE event is added after it. This new event type is only handled by
painting/sculpting operators, everything else can happily ignore it.

10 years agoCompile fix for changes in "filldisplist" function.
Thomas Dinges [Wed, 23 Jun 2010 17:40:17 +0000 (17:40 +0000)]
Compile fix for changes in "filldisplist" function.

10 years agoFix #21370: VBO does not display material colors in textured solid.
Brecht Van Lommel [Wed, 23 Jun 2010 16:35:42 +0000 (16:35 +0000)]
Fix #21370: VBO does not display material colors in textured solid.

10 years ago- avoid divide by zero with node progress
Campbell Barton [Wed, 23 Jun 2010 15:07:20 +0000 (15:07 +0000)]
- avoid divide by zero with node progress
- write_crash_blend() was writing to the original path.

10 years agoFix #21369: normals on extruded text and curve objects were flipped
Brecht Van Lommel [Wed, 23 Jun 2010 13:18:50 +0000 (13:18 +0000)]
Fix #21369: normals on extruded text and curve objects were flipped
for the backside, giving problems with e.g. boolean operations.

10 years agoFix crash when rendering with output to full screen and the mouse
Brecht Van Lommel [Wed, 23 Jun 2010 12:41:38 +0000 (12:41 +0000)]
Fix crash when rendering with output to full screen and the mouse
cursor not over any area, e.g. on the border between two areas.

10 years agoSculpt+shape keys:
Sergey Sharybin [Wed, 23 Jun 2010 12:27:13 +0000 (12:27 +0000)]
Sculpt+shape keys:
- Sculpting on the basis key should change original mesh
- For relative keys sculpting on basis key should update others

10 years agofix for rare crash when a material is set in the outliner for an object with no mater...
Campbell Barton [Wed, 23 Jun 2010 11:46:58 +0000 (11:46 +0000)]
fix for rare crash when a material is set in the outliner for an object with no material bits.

10 years agoFix a crash when failing to read .tga files in some cases.
Brecht Van Lommel [Wed, 23 Jun 2010 10:24:35 +0000 (10:24 +0000)]
Fix a crash when failing to read .tga files in some cases.

10 years agoConverting a mesh into a mesh (alt-c), was broken with shape keys and modifiers that...
Campbell Barton [Wed, 23 Jun 2010 10:18:51 +0000 (10:18 +0000)]
Converting a mesh into a mesh (alt-c), was broken with shape keys and modifiers that changed the vertex count.
removal of the shape key was undone in DM_to_mesh().

10 years agoFix #21470: changing brush settings redraws the 3d view unecessarily,
Brecht Van Lommel [Wed, 23 Jun 2010 09:58:32 +0000 (09:58 +0000)]
Fix #21470: changing brush settings redraws the 3d view unecessarily,
added ED_region_tag_redraw_overlay to only redo overlay drawing, which
in case of triple buffer is much faster.

10 years agoFix #22654: Converted curve from mesh disappearing
Sergey Sharybin [Wed, 23 Jun 2010 09:58:02 +0000 (09:58 +0000)]
Fix #22654: Converted curve from mesh disappearing

Curve object should have ob->bb=NULL if there is no derivedMesh

10 years agofix for timeline drawing with new cache visualization.
Campbell Barton [Wed, 23 Jun 2010 08:18:14 +0000 (08:18 +0000)]
fix for timeline drawing with new cache visualization.
memcpy buffer overrun when the first frame wasnt 0.

10 years agoLogic UI: small change: make pin always visible (disable sometimes instead of hiding)
Dalai Felinto [Wed, 23 Jun 2010 06:09:30 +0000 (06:09 +0000)]
Logic UI: small change: make pin always visible (disable sometimes instead of hiding)
I still think we could use a more compact header for the non-expanded mode (ala 2.49). To be addressed later

10 years agoChange to file output compositor node -
Matt Ebb [Wed, 23 Jun 2010 03:42:19 +0000 (03:42 +0000)]
Change to file output compositor node -
Now it only outputs files when rendering, otherwise, it overwrites the output files
whenever the compositor updates (i.e. just scrubbing through the timeline )

10 years agoAdded back full scene motion blur 'shutter' parameter (was 'Bf' in 2.49)
Matt Ebb [Wed, 23 Jun 2010 03:20:57 +0000 (03:20 +0000)]
Added back full scene motion blur 'shutter' parameter (was 'Bf' in 2.49)

10 years agomathutils.RotationMatrix
Martin Poirier [Wed, 23 Jun 2010 02:42:39 +0000 (02:42 +0000)]
mathutils.RotationMatrix

Angles are in radians. Doc and example should reflect reality

10 years agoSmall update to text boxes UI. It now works in single-column layout.
William Reynish [Tue, 22 Jun 2010 21:31:26 +0000 (21:31 +0000)]
Small update to text boxes UI. It now works in single-column layout.

10 years agoFix #22642: NURBS surfaces doesnt display
Sergey Sharybin [Tue, 22 Jun 2010 21:11:13 +0000 (21:11 +0000)]
Fix #22642: NURBS surfaces doesnt display
Fix #22587: Invisible Nurbs Suface

There was a small bug with determinating if new object should be created
and for surfeces new OB_CURVE object had been created (instead of OB_SURF).

Removed unused function and enum, which were used by nurbs surface
create old oprator

10 years ago== Sequencer ==
Peter Schlaile [Tue, 22 Jun 2010 21:09:50 +0000 (21:09 +0000)]
== Sequencer ==

Removed "frame_locked"-flag from sequencer completely, since it doesn't
work any more in Blender 2.5. (All IPOs are frame-locked now anyways.)

10 years agoffmpeg was computing the frame length of avis via doubles, but was
Brecht Van Lommel [Tue, 22 Jun 2010 18:18:42 +0000 (18:18 +0000)]
ffmpeg was computing the frame length of avis via doubles, but was
not properly ceiling them, sometimes resulting in truncation errors.

(merge from render25 branch, commit with revision 28901 by Joe)

10 years agoFix #22589: pressing subdivide or updating displacements after sculpting
Brecht Van Lommel [Tue, 22 Jun 2010 16:46:13 +0000 (16:46 +0000)]
Fix #22589: pressing subdivide or updating displacements after sculpting
on multire would unnecessarily subdivide vertex groups and other layers,
making the operation slower than necessary.

10 years agoFix Bug [#22640] Center Cursor doesn't cause 3D window update in empty scene
Diego Borghetti [Tue, 22 Jun 2010 15:46:15 +0000 (15:46 +0000)]
Fix Bug [#22640] Center Cursor doesn't cause 3D window update in empty scene

The viewhome operator forget tag the region for redraw when no object
is in the scene and only move the cursor.

10 years agoMerge a few small blenlib changes from the render25 branch:
Brecht Van Lommel [Tue, 22 Jun 2010 15:20:06 +0000 (15:20 +0000)]
Merge a few small blenlib changes from the render25 branch:

* define for missing hypotf on msvc.
* svd_m4 and pseudoinverse_m4_m4 functions.
* small tweak to perlin noise, use static function instead of macro.
* BLI_linklist_find and BLI_linklist_insert_after functions.
* MALWAYS_INLINE define to force inlining.

10 years agoBLI_init_threads/BLI_end_threads with NULL listbase now raises thread level
Brecht Van Lommel [Tue, 22 Jun 2010 15:17:12 +0000 (15:17 +0000)]
BLI_init_threads/BLI_end_threads with NULL listbase now raises thread level
and enables mutex protection on MEM_* functions, useful when you want to call
these functions from an OpenMP thread.

(merge from render25 branch)

10 years agoUpdate build systems for automatic weighting changes.
Brecht Van Lommel [Tue, 22 Jun 2010 15:12:00 +0000 (15:12 +0000)]
Update build systems for automatic weighting changes.

(merge from render25 branch)

10 years agoArmature weighting / mesh deform no longer use render raytracing
Brecht Van Lommel [Tue, 22 Jun 2010 15:10:57 +0000 (15:10 +0000)]
Armature weighting / mesh deform no longer use render raytracing
acceleration structure but BVH instead.

(merge from render25 branch)

10 years agoEnabled openmp multithreading for multires/subsurf again, but only
Brecht Van Lommel [Tue, 22 Jun 2010 15:09:41 +0000 (15:09 +0000)]
Enabled openmp multithreading for multires/subsurf again, but only
if there are >= 1 million faces estimated in the resulting mesh.

(merge from render25 branch)

10 years agoDon't evaluate displace modifier with strength 0, avoids multires
Brecht Van Lommel [Tue, 22 Jun 2010 15:08:39 +0000 (15:08 +0000)]
Don't evaluate displace modifier with strength 0, avoids multires
subdividing vertex group here in some cases.

(merge from render25 branch)