Commit Graph

39527 Commits

Author SHA1 Message Date
Thomas Dinges
3ba31f0481 * Fix for the Cycles XML commit yesterday, blur_glossy has a different internal variable name. 2012-06-21 08:02:18 +00:00
Campbell Barton
fae0b2068b falloff options for dilate/erode feather compo node. 2012-06-21 07:45:41 +00:00
Bastien Montagne
19e81b12e7 Fix [#31714] Pinning object context causes texture list to disappear
Problem was py code of main texture panel was not doing any check on the pinned id, assuming it managed the textures itself - but this is not the case of the Object datablock...

All work actually done by Sergey, was just missing the Lamp specific case. Checked both in code and with tests, quite sure all cases are now correctly handled!
2012-06-21 07:32:06 +00:00
Lukas Toenne
27aa2174b7 Fix for color ramp RNA paths in node trees. The path generation for color ramps in nodes was incomplete (not prepending the ID-to-node path), which prevented keyframing color ramp elements. Path lookup for color ramps is still brute-force and slow, but this is a general design problem with nested RNA structs. 2012-06-21 07:14:39 +00:00
Mitchell Stokes
7ef54879ed Fix for properly converting 2.4x IPO Actuators to 2.6x Action Actuators. Previously the converted Action Actuators would not have an action assigned. This fix is based on code provided by Maxim Aleynikov in his report: [#30410] not full conversion IPO Actuator in Action Actuator. 2012-06-21 06:27:51 +00:00
Mitchell Stokes
d8e2c475a0 Fix for [#31396] "bge.logic.LibLoad fails to import text blocks" reported by Leonard Ritter.
Blender's import function check's the Text datablocks in main for additional modules for importing. However, libloaded scenes were 1) not loading Text datablocks and 2) not letting bpy know about them. Text datablocks are now loaded if a Scene is loaded and bpy can now looking through extra Mains to find additional modules.
2012-06-21 05:41:06 +00:00
Mitchell Stokes
501922782f Fix for [#31792] "Character Physics type not detected by near sensor" reported by Mikko-Pentti Eronen.
Near sensors only pick up "actors," but objects with character physics did not have the actor option displayed. By setting the character physics object to actor, it can be picked up by the near sensor. However, it collides with the near sensor, which sounds like bug [#31701]
2012-06-21 05:30:57 +00:00
Campbell Barton
d4d4f2d511 workarond for outliner group object selection trick - which is so slow it had to be disabled. Now use the first object of the group, which isn't great but is at least usable. 2012-06-20 23:21:36 +00:00
Campbell Barton
091c716198 correction to own commit - thanks Anthony Edlin for pointing out the error. 2012-06-20 22:57:05 +00:00
Thomas Dinges
b84ee5ae7c Cycles XML:
* Add recent integrator options.
2012-06-20 21:12:38 +00:00
Campbell Barton
463a4ebf1c fix for segfault loading a file with a proxy that is a missing link. 2012-06-20 21:10:34 +00:00
Monique Dewanchand
82bad4bd6c Refactoring of tiles opencl implementation:
- Moved methods from NodeOperation to OpenCLDevice
- Added check on Nvidia for local size
2012-06-20 20:05:21 +00:00
Campbell Barton
cf129d8cb5 avoid calls to BLF_height_default in a loop calling with the same value, also quiet warning. 2012-06-20 19:23:12 +00:00
Campbell Barton
850d734147 make mask handles draw with an outline - when outline option is enabled. 2012-06-20 18:46:18 +00:00
Campbell Barton
dc7770d1a1 fix for use of 2 uninitialized vars in the tiles compositor. 2012-06-20 17:35:51 +00:00
Campbell Barton
81468b5b09 fix for error with sequencer stip text drawing - was using unclamped handle sizes for the text bounds, this could be very wrong with long strips. 2012-06-20 17:10:40 +00:00
Jeroen Bakker
bbe3c2946a * reset OpenCL innerloop size to 32. 2012-06-20 17:04:40 +00:00
Campbell Barton
a744fed46c style cleanup 2012-06-20 16:43:48 +00:00
Campbell Barton
ea122cf59b move the frame length to the end for sequence drawing (mango request, since often the name is clipped out entirely so only then length is seen) 2012-06-20 16:34:15 +00:00
Brecht Van Lommel
14e4630afc Fix crash in compositing nodes with a node group with missing datablock, can
happen with library linking and missing files.
2012-06-20 14:57:39 +00:00
Brecht Van Lommel
e3e75b3936 Fix #31883: cycles vectors pass rendering crash with some render layers using
it and others not.
2012-06-20 14:24:52 +00:00
Sergey Sharybin
aa30e20272 Fix #31852: Sequencer duplicate cant move strips on Y axis in a meta
Issue was caused by some stuff happenign in wm_operator_finish() which uses
to somehow restore changes made by transformation invoke function.

Solved by not calling translation operator directly from duplication operator
(which is in fact really tricky) and use macros instead. This macros calls
duplication operator which simply duplicates strip, and then calls translation
operator.
2012-06-20 14:20:03 +00:00
Campbell Barton
72f7ab441d removing from group now shows menu to select group to remove. 2012-06-20 14:13:22 +00:00
Sergey Sharybin
6b695762ea Added command line argument --debug-value
Useful when needed to set debug value (G.rt) on blender's startup
2012-06-20 13:40:43 +00:00
Sergey Sharybin
a550b6fe39 Silent masks "alloc new deform spline" debug print 2012-06-20 13:32:30 +00:00
Sergey Sharybin
906a635bd0 Store parent's initial position when setting mask's parent from the interface 2012-06-20 11:16:51 +00:00
Sergey Sharybin
470ad6fc0e Do not check result of BKE_tracking_marker_get -- it shall always
return valid marker. If not -- let blender crash, because that means
something went really bad and silencing this isn't good idea.

Also made mask parenting to tracking data aware of clip's start frame.
2012-06-20 10:54:56 +00:00
Sergey Sharybin
b07edbc6d6 Grease pencil and manual calibration weren't aware of clip start frame 2012-06-20 10:42:41 +00:00
Sergey Sharybin
4b955a60ed Cleanup up space clip API:
- Remove clip/mask specific size/aspect getters, they shall just
  use the same size/aspect ratio.
- Made size getter (and some other public functions) accept context
  instead of SpaceClip. Currently only SpaceClip is being get from
  this context, but later it'll be helpful when adding support of
  editing mask without opening clip in clip editor (in this case
  using render resolution for mask would be ideal, but this
  requires knowing scene in size getter).
- Rearrange some functions in clip_editor.c for easier navigation
  in the file.
2012-06-20 10:28:51 +00:00
Campbell Barton
fca0112ba3 add back blending for vertex and weight paint modes, you may want to keep the one brush and switch blending options. 2012-06-20 09:34:26 +00:00
Campbell Barton
b0b96bd9a1 add in convenience var 'D = bpy.data' - to the python console, add note for C, D - in initial message. 2012-06-20 08:49:59 +00:00
Campbell Barton
586f202eac minor speedup for the glare compositor node
- pre calculate the UV dot product
- use image width and height converted to floats in the inner loop.
2012-06-20 08:11:59 +00:00
Nicholas Rishel
fc1164c223 Fixes [#31577] Select N-th vertex/face/edge doesnt work
http://projects.blender.org/tracker/index.php?func=detail&aid=31577&group_id=9&atid=498

Also solves both TODOs in the commented code.

Loop select now calls mouse_mesh() to handle setting an active vertex/edge/face.
2012-06-20 07:31:19 +00:00
Campbell Barton
358f7d40b6 style cleanup: use TRUE/FALSE for ui align args. 2012-06-19 23:08:16 +00:00
Campbell Barton
98e6912480 style cleanup 2012-06-19 22:17:19 +00:00
Sergey Sharybin
a8f23a96a4 KeyingScreen would now deal properly with clips with Start Frame != 1 2012-06-19 17:57:51 +00:00
Bastien Montagne
69e07714b9 Fix part 1 of [#31840] Quick Explode Bugs related to it's fade option.
Patch by Philipp Oeser (lichtwerk), just did style change (better to not define a value twice, so only affecting the three color components, not the alpha, also using the slice syntax makes things much more compact ;) ), thanks!
2012-06-19 16:45:48 +00:00
Bastien Montagne
8796c3eff1 Fix part 2 of [#31840] Quick Explode Bugs related to it's fade option.
This in fact had nothing to see with this operator or its fade option, reports were simply not shown when repeating an operator.

Carefully checked/tracked all calls to wm_operator_exec and WM_operator_repeat, and could not see any reason why this was this way, so I disabled this. Very easy to undo in case ugly problems arize (but I really do not expect any!).
2012-06-19 16:26:01 +00:00
Sergey Sharybin
4f044f4ec1 Changes in clip editor's public api to make it's more clear
whether getting of some property happens or this property is
being changed.

Also made it more clear whether affecting property belongs
to clip or mask datablock.
2012-06-19 14:26:29 +00:00
Sergey Sharybin
14a68d3a5f Mark context as const when it's possible and avoid typecasts from const bContext* to bContext* 2012-06-19 14:09:44 +00:00
Jeroen Bakker
7f2d1c01cd Implemented Preview of defocus to set the quality of the node to Low
increased the inner loop of opencl
2012-06-19 13:52:41 +00:00
Campbell Barton
cf2ae76347 fix for uninitialized memory use in the new compositor. 2012-06-19 13:20:06 +00:00
Jeroen Bakker
bb7b8bed8a * fixed defocus background blurin... 2012-06-19 09:52:52 +00:00
Jeroen Bakker
340489d29f * Fixed brightness (was introduced by optimalization)
* added threshold functionality

still have to fix the background bleeding. not sure why it happens.
needs some revisites.
2012-06-19 08:48:45 +00:00
Lukas Toenne
fbbd64a118 Fix #31646, somehow a 2.62 file output node can have NULL storage pointer. Not sure how this can happen, but added checks in do_versions to make sure the file doesn't crash. Paths will probably have to be reset though. 2012-06-19 07:46:45 +00:00
Jeroen Bakker
77dde3db08 * Enabled OpenCL for the compositor
Tested on:
   - Windows32 ATI V5800
   - Linux64 GTX360M
   - Linux64 Quadro FX360M

The ATI is much more stable as the Nvidia platforms. We have tested
a different scheduling that will speed up for AMD (not checked in yet)

It compiles on all platforms, but fails on our MAC book Pro.
Black lines are produced on the top of a opencl workgroup.

By using localworksize we were able to remove these lines, but 
are not satisfied at this solution (so will not check this in yet).

Please everyone check if it works on your configuration and add 
Bugs when needed.

To test you need to add a BokehBlur to your scene and enable the
OpenCL flag in the property panel.
2012-06-18 21:20:11 +00:00
Nicholas Bishop
c9e98e848d Fix for subsurf oscillations along creased boundary edges
Changed the "exterior edge interior shift" section of subsurf calc to
always treat boundary edges the same, regardless of sharpness. We
should revisit subsurf creasing to see if more consistent and
predictable results are possible, but for now this a non-intrusive way
to avoid wavyness along the boundary.

Fixes bug [#31864] Artifacts when using Subsurf+Crease on plane
http://projects.blender.org/tracker/index.php?func=detail&aid=31864&group_id=9&atid=498
2012-06-18 20:50:35 +00:00
Nicholas Bishop
fd36fb8f63 Code cleanup: use float* rather than void* in subsurf calculation
No functional changes.
2012-06-18 20:50:25 +00:00
Bastien Montagne
0b7c9f11f2 Minor UI message fixes. 2012-06-18 20:22:23 +00:00
Bastien Montagne
1f02633d7e Fix for compiling with all warnings as error (commenting out unused vars). 2012-06-18 19:37:01 +00:00