Commit Graph

24838 Commits

Author SHA1 Message Date
Peter Schlaile
6e5a436f56 == 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.
2010-07-03 21:13:08 +00:00
Campbell Barton
c9627f7883 home key to center the camera offset. 2010-07-03 20:47:03 +00:00
Campbell Barton
bc95714528 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).
2010-07-03 19:06:49 +00:00
Campbell Barton
80f6102629 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.
2010-07-03 17:47:06 +00:00
Campbell Barton
9a85435e96 rna api:
rename object.matrix --> matrix_world
added object.matrix_local (parent relative matrix)
2010-07-03 17:39:29 +00:00
Brecht Van Lommel
7a495a12e1 Fix for layer restoring with duplis, could be wrong sometimes
when there with multiple instances and recursion.
2010-07-03 17:19:44 +00:00
Campbell Barton
37b4e2af77 cmake: disable openexr if its not found (rather then throwing an error) 2010-07-03 15:03:13 +00:00
Campbell Barton
0b939f9ea7 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
2010-07-03 12:55:03 +00:00
Damien Plisson
d79a2c6f0e 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.
2010-07-03 12:11:05 +00:00
Damien Plisson
ec770b7538 OSX: CMake and scons default settings updated to allow build with LCMS lib 2010-07-03 10:01:41 +00:00
Campbell Barton
de3dc33494 render override was still showing game physics bounds 2010-07-02 20:46:29 +00:00
Campbell Barton
15be7b215f - changes to the sequencer so new strips use the data name.
- removed the name option for the sequence operators.
2010-07-02 20:09:42 +00:00
Campbell Barton
213a45bed8 changes to file selector so 'directory' property from an operator is used when available.
also made some other changes to the path functions used.
2010-07-02 17:44:57 +00:00
Brecht Van Lommel
643ec7a12f Fix #22690: gestures were not working correct after inbetween mousemove
changes, also forgot to update armature sketching operator.
2010-07-02 11:26:12 +00:00
Matt Ebb
6bdc4c72d4 revert previous auto-naming change for meta elements,
broke the name-based grouping.
2010-07-02 03:11:10 +00:00
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
742c4eb1d1 enable external pointcache for smoke in the UI. 2010-07-01 13:25:49 +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
Jens Ole Wund
f7f44696ba ui glitch fix [#22667] 2010-06-29 22:30:55 +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
Daniel Salazar
7b09e47dc4 Added name to object color in object properties. Kinda misleading
without it
2010-06-29 05:02:51 +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