Commit Graph

47594 Commits

Author SHA1 Message Date
Diego Borghetti
49b8bb6f7f 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.
2010-07-01 19:29:27 +00:00
Campbell Barton
51fd10a1b5 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().
2010-07-01 19:28:45 +00:00
Brecht Van Lommel
93bdba9b21 Fix for crash with PBVH in background mode, patch by Campbell. 2010-07-01 15:12:10 +00:00
Campbell Barton
6cc4160df9 adding a new sequence strip uses the active strips path when available. 2010-07-01 14:08:41 +00:00
Campbell Barton
0fa0d12ff0 fix for building with WITH_RAYOPTIMIZATION 2010-07-01 13:21:40 +00:00
Campbell Barton
7c859b305f fix for use of uninitialized memory with opengl render. 2010-07-01 11:58:48 +00:00
Luca Bonavita
3a47839a31 == 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
2010-07-01 10:52:15 +00:00
Nicholas Bishop
bd4d743db9 * Made sculpt drawing respect the "use VBO" preference.
* Hopefully this fixes some sculpt problems for people with broken drivers
2010-06-30 19:35:08 +00:00
Brecht Van Lommel
df56d40339 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).
2010-06-30 15:15:31 +00:00
Brecht Van Lommel
6ff10f00d4 Bugfix: effector weights were not copied when copying particle settings. 2010-06-30 14:43:28 +00:00
Campbell Barton
7f3b7c07af bugfix [#22702] Camera lense animation not updating 2010-06-30 09:53:40 +00:00
Matt Ebb
6adc681227 Finish fixing [#22653] Dimensions not update on curve 2010-06-30 05:03:41 +00:00
Matt Ebb
0d5b688746 Fix [#22643] Renderging Crash. 2.5 2010-06-30 04:09:58 +00:00
Martin Poirier
a35680a3e0 [#22699] "--" fails to stop processing cmd line arguments (incl. patch)
Thanks Matt
2010-06-30 03:19:28 +00:00
Matt Ebb
f6dabd51c9 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.
2010-06-30 02:34:34 +00:00
Campbell Barton
35dd09a9ef add alpha option for new images (operator and function) 2010-06-29 22:07:27 +00:00
Campbell Barton
c0bb3303f4 move edits from rna_api_cleanup.txt into rna_booleans.txt which can be parsed. 2010-06-29 21:23:28 +00:00
Luca Bonavita
e7d78649cb == 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 :)
2010-06-29 17:23:48 +00:00
Nicholas Bishop
fab7671d20 Fixed bug #22686, Screw modifier VBO-related crash
* Problem was calling setDrawOptions even if there was no original face index to use
2010-06-29 15:56:05 +00:00
Campbell Barton
0795d1cccb image re-projection wasnt changing alpha values. 2010-06-29 13:20:11 +00:00
Matt Ebb
f48556f236 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.
2010-06-29 12:33:25 +00:00
Luca Bonavita
3c1e97d1ff == 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
2010-06-29 12:13:29 +00:00
Campbell Barton
926f94252d fix for crash when loading files that had the animtimer set. 2010-06-28 18:40:17 +00:00
Campbell Barton
3166136da7 update from discussion with brecht. 2010-06-28 16:52:57 +00:00
Campbell Barton
a726793507 default to global space for point density cache space. 2010-06-28 16:37:50 +00:00
Campbell Barton
d404974809 flip button for color ramps (durian request), these should be done as operators in a menu with copy/paste. added own todo. 2010-06-28 16:07:21 +00:00
Luca Bonavita
b082401e88 == 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
2010-06-28 15:29:18 +00:00
Brecht Van Lommel
abf095e975 rna renaming: showonly/useonly to show_only/use_only 2010-06-28 12:42:42 +00:00
Brecht Van Lommel
5fce637c7f rna renaming: some simple consistency tweaks 2010-06-28 12:41:16 +00:00
Campbell Barton
4b0ab39571 rna suggested names:
position -> location
 maximum/minimum -> max/min
2010-06-28 12:25:28 +00:00
Campbell Barton
2d377a99a5 WIP draft for rna renaming, brecht will go over this next. 2010-06-28 12:10:40 +00:00
Sergey Sharybin
8517a7a3cd 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.
2010-06-28 11:07:02 +00:00
Matt Ebb
aae952be1f Fix [#22669] Packing a .wav used in a LB crashes Blender 2010-06-28 00:11:28 +00:00
Luca Bonavita
1a6b9ea5d9 == 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
2010-06-28 00:06:23 +00:00
Matt Ebb
a52632182c [#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.
2010-06-27 23:57:58 +00:00
Matt Ebb
32f83b91a4 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
2010-06-27 23:18:04 +00:00
Campbell Barton
d9bcd249cf remove some warnings 2010-06-27 21:03:39 +00:00
Campbell Barton
1a59eb21a9 align menu text to the left when displayed in a panel. 2010-06-27 19:10:36 +00:00
Campbell Barton
768ecb1ba9 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
2010-06-27 18:34:27 +00:00
Sergey Sharybin
650de24271 Recalculate motherball when metaball is deleting 2010-06-27 12:45:09 +00:00
Sergey Sharybin
3262dfdadd Fix #22051: crash when scaling parent metaball
Keep the constant resolution for any motherball's scale
2010-06-27 08:35:27 +00:00
Matt Ebb
e86c5cf9ea Fix [#22564] Object name by object type
Restored auto-naming newly created objects by type, for Mesh, Lamp, Meta
2010-06-27 07:45:57 +00:00
Tamito Kajiyama
4dd23a381a Fix for compilation error with SCons. 2010-06-27 06:42:52 +00:00
Matt Ebb
ce7d768934 Fix [#22675] Dupli tool
Tweaked operator poll functions
2010-06-27 06:15:36 +00:00
Matt Ebb
03fa4bb999 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.
2010-06-27 05:39:55 +00:00
Campbell Barton
ea4e5a08cd script to create a man page from blenders --help text, replaced the hand edited man page with this. 2010-06-27 00:33:12 +00:00
Tamito Kajiyama
0f5c19c32c More on the new GUI for the Parameter Editor mode. This is a WIP commit.
* Moved render layer-specific Freestyle options to a separate "Freestyle"
tab (in addition to the "Freestyle: Line Style" tab that has been introduced
in the previous commit).

* Added UI controls for specifying feature edge selection criteria in the
Parameter Editor mode.  Feature edge selection starts with a set of all
feature edges in the view map.  Each line set specifies edge selection
criteria (e.g., to select only visible crease edges) by enabling appropriate
UI controls (e.g., by turning on the "Crease" and "Visibility" toggle
buttons).  Selected criteria are combined by logical conjunction.  Logical
disjunction (e.g., "crease edges or contours") is represented by two or
more line sets.

* Slightly rearranged several UI controls in the Python Scripting mode.
2010-06-27 00:03:34 +00:00
Campbell Barton
f6eed88a78 - 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.
2010-06-26 20:00:45 +00:00
Campbell Barton
ebde8a7ccc new notifier for FRAME_RANGE, use to recalculate the timeline scrollbar range. 2010-06-26 19:17:48 +00:00
Campbell Barton
7ad1491fce alpha drawing for color picker, move alpha button into the picker. 2010-06-26 17:12:55 +00:00